openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1441369 - /openoffice/trunk/main/jvmfwk/source/elements.cxx
Date Fri, 01 Feb 2013 10:08:49 GMT
Author: hdu
Date: Fri Feb  1 10:08:48 2013
New Revision: 1441369

URL: http://svn.apache.org/viewvc?rev=1441369&view=rev
Log:
fixing bNeedsSave return via pointer

Modified:
    openoffice/trunk/main/jvmfwk/source/elements.cxx

Modified: openoffice/trunk/main/jvmfwk/source/elements.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/source/elements.cxx?rev=1441369&r1=1441368&r2=1441369&view=diff
==============================================================================
--- openoffice/trunk/main/jvmfwk/source/elements.cxx (original)
+++ openoffice/trunk/main/jvmfwk/source/elements.cxx Fri Feb  1 10:08:48 2013
@@ -101,7 +101,7 @@ rtl::OString getElementModified()
 }
 
 
-void createSettingsStructure(xmlDoc * document, bool * bNeedsSave)
+void createSettingsStructure( xmlDoc* document, bool* pbNeedsSave)
 {
     rtl::OString sExcMsg("[Java framework] Error in function createSettingsStructure "
                          "(elements.cxx).");
@@ -121,11 +121,11 @@ void createSettingsStructure(xmlDoc * do
     }
     if (bFound)
 	{
-		bNeedsSave = false;
+		*pbNeedsSave = false;
         return;
 	}
     //We will modify this document
-    *bNeedsSave = true;
+    *pbNeedsSave = true;
     // Now we create the child elements ------------------
     //Get xsi:nil namespace
     xmlNs* nsXsi = xmlSearchNsByHref(



Mime
View raw message