summaryrefslogtreecommitdiff
path: root/xmloff/source/style
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-08-23 17:21:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-08-23 20:36:57 +0200
commited61a80297cd97331d08837553c4fd4f623ccd6b (patch)
treef845853d242e5f8314d214ef024c51af38a430db /xmloff/source/style
parent94e8eedece9adc5dc92cc1afeed338237c2f2e5e (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/source/style')
-rw-r--r--xmloff/source/style/cdouthdl.cxx2
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 )