incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhan...@apache.org
Subject svn commit: r1380115 - /incubator/ooo/trunk/main/xmloff/source/draw/XMLNumberStyles.cxx
Date Mon, 03 Sep 2012 02:52:22 GMT
Author: zhangjf
Date: Mon Sep  3 02:52:22 2012
New Revision: 1380115

URL: http://svn.apache.org/viewvc?rev=1380115&view=rev
Log:
#i120663#, The slave SvXMLImportContext object for SdXMLNumberFormatMemberImportContext is
always leaked

Found by: zhangjf 
Patch by: zhangjf

Modified:
    incubator/ooo/trunk/main/xmloff/source/draw/XMLNumberStyles.cxx

Modified: incubator/ooo/trunk/main/xmloff/source/draw/XMLNumberStyles.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/xmloff/source/draw/XMLNumberStyles.cxx?rev=1380115&r1=1380114&r2=1380115&view=diff
==============================================================================
--- incubator/ooo/trunk/main/xmloff/source/draw/XMLNumberStyles.cxx (original)
+++ incubator/ooo/trunk/main/xmloff/source/draw/XMLNumberStyles.cxx Mon Sep  3 02:52:22 2012
@@ -502,7 +502,7 @@ private:
 	sal_Bool mbTextual;
 	sal_Bool mbDecimal02;
 	OUString maText;
-	SvXMLImportContext* mpSlaveContext;
+	boost::shared_ptr< SvXMLImportContext > mpSlaveContext;
 
 public:
 	TYPEINFO();



Mime
View raw message