diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-08-23 17:21:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-08-23 20:36:57 +0200 |
commit | ed61a80297cd97331d08837553c4fd4f623ccd6b (patch) | |
tree | f845853d242e5f8314d214ef024c51af38a430db /xmloff | |
parent | 94e8eedece9adc5dc92cc1afeed338237c2f2e5e (diff) |
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@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/cdouthdl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |