[Libreoffice-commits] core.git: xmloff/source

Noel Grandin noel.grandin at collabora.co.uk
Mon Mar 13 10:17:25 UTC 2017


 xmloff/source/style/cdouthdl.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 93985db3410f3ce685e6da6ef77457bb72d56201
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Mon Mar 13 12:16:34 2017 +0200

    fix android build
    
    Change-Id: I960768ff98137a50da44348bffeec329295ea95f

diff --git a/xmloff/source/style/cdouthdl.cxx b/xmloff/source/style/cdouthdl.cxx
index 35113f3..7f10c02 100644
--- a/xmloff/source/style/cdouthdl.cxx
+++ b/xmloff/source/style/cdouthdl.cxx
@@ -81,7 +81,7 @@ XMLCrossedOutTypePropHdl::~XMLCrossedOutTypePropHdl()
 
 bool XMLCrossedOutTypePropHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const
 {
-    sal_uInt16 eNewStrikeout;
+    sal_uInt16 eNewStrikeout = 0;
     bool bRet = SvXMLUnitConverter::convertEnum(
         eNewStrikeout, rStrImpValue, pXML_CrossedoutType_Enum );
     if( bRet )
@@ -204,7 +204,7 @@ XMLCrossedOutWidthPropHdl::~XMLCrossedOutWidthPropHdl()
 
 bool XMLCrossedOutWidthPropHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const
 {
-    sal_uInt16 eNewStrikeout;
+    sal_uInt16 eNewStrikeout = 0;
     bool bRet = SvXMLUnitConverter::convertEnum(
         eNewStrikeout, rStrImpValue, pXML_CrossedoutWidth_Enum );
     if( bRet )


More information about the Libreoffice-commits mailing list