[Libreoffice-commits] .: binfilter/bf_sw binfilter/bf_xmloff

Caolán McNamara caolan at kemper.freedesktop.org
Tue Apr 5 03:39:27 PDT 2011


 binfilter/bf_sw/source/core/crsr/sw_unocrsr.cxx     |    2 +-
 binfilter/bf_xmloff/source/style/xmloff_backhdl.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 809f4aade6c2f7e0d3f1c3f066ebe0ecf5044b45
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 5 11:39:14 2011 +0100

    WaE: silence older compilers

diff --git a/binfilter/bf_sw/source/core/crsr/sw_unocrsr.cxx b/binfilter/bf_sw/source/core/crsr/sw_unocrsr.cxx
index 9f600cc..0d3c61e 100644
--- a/binfilter/bf_sw/source/core/crsr/sw_unocrsr.cxx
+++ b/binfilter/bf_sw/source/core/crsr/sw_unocrsr.cxx
@@ -192,7 +192,7 @@ namespace binfilter {
 
 /*N*/ SwUnoCrsr* SwDoc::CreateUnoCrsr( const SwPosition& rPos, BOOL bTblCrsr )
 /*N*/ {
-/*N*/ 	SwUnoCrsr* pNew;
+/*N*/ 	SwUnoCrsr* pNew = NULL;
 /*N*/ 	if( bTblCrsr )
 /*?*/ 		{DBG_BF_ASSERT(0, "STRIP"); }
 /*N*/ 	else
diff --git a/binfilter/bf_xmloff/source/style/xmloff_backhdl.cxx b/binfilter/bf_xmloff/source/style/xmloff_backhdl.cxx
index 82de391..da278e6 100644
--- a/binfilter/bf_xmloff/source/style/xmloff_backhdl.cxx
+++ b/binfilter/bf_xmloff/source/style/xmloff_backhdl.cxx
@@ -159,7 +159,7 @@ sal_Bool XMLBackGraphicPositionPropHdl::exportXML( OUString& rStrExpValue, const
     style::GraphicLocation eLocation;
     if( !( rValue >>= eLocation ) )
     {
-        sal_Int32 nValue;
+        sal_Int32 nValue(0);
         if( rValue >>= nValue )
             eLocation = (style::GraphicLocation)nValue;
         else


More information about the Libreoffice-commits mailing list