From ed61a80297cd97331d08837553c4fd4f623ccd6b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 23 Aug 2020 17:21:15 +0100 Subject: WaE: -Werror=maybe-uninitialized MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- xmloff/source/style/cdouthdl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff/source/style') 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 ) -- cgit