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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Aug 23 18:37:41 UTC 2020


 xmloff/source/style/cdouthdl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ed61a80297cd97331d08837553c4fd4f623ccd6b
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Aug 23 17:21:15 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Aug 23 20:36:57 2020 +0200

    WaE: -Werror=maybe-uninitialized
    
    with --enable-dbgutil + --enable-optimized=debug
    
    Change-Id: I98fdc7e0b97c48bfb7c425013640c91c29e46a3c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101244
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/xmloff/source/style/cdouthdl.cxx b/xmloff/source/style/cdouthdl.cxx
index 98fcf264026a..74eee9fa6b08 100644
--- a/xmloff/source/style/cdouthdl.cxx
+++ b/xmloff/source/style/cdouthdl.cxx
@@ -155,7 +155,7 @@ XMLCrossedOutStylePropHdl::~XMLCrossedOutStylePropHdl()
 
 bool XMLCrossedOutStylePropHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const
 {
-    sal_uInt16 eNewStrikeout;
+    sal_uInt16 eNewStrikeout(0);
     bool bRet = SvXMLUnitConverter::convertEnum(
         eNewStrikeout, rStrImpValue, pXML_CrossedoutStyle_Enum );
     if( bRet )


More information about the Libreoffice-commits mailing list