diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-13 15:49:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-13 15:51:18 +0000 |
commit | e20d9867e29c75dbe4c4c87077d461d3c7d5fd86 (patch) | |
tree | c70fd34bdc2998fb08b3e6493a4dab090a3ece4e | |
parent | 12eee112ce0d75816b049d987ea863c944a6ffb8 (diff) |
Werror=maybe-uninitialized on arm toolchain
Change-Id: If728a1da99d9146d60d15b5273a7a89764b82d51
-rw-r--r-- | xmloff/source/style/undlihdl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/style/undlihdl.cxx b/xmloff/source/style/undlihdl.cxx index 90e731bb7ad3..f6bd26d9c4b8 100644 --- a/xmloff/source/style/undlihdl.cxx +++ b/xmloff/source/style/undlihdl.cxx @@ -112,7 +112,7 @@ XMLUnderlineTypePropHdl::~XMLUnderlineTypePropHdl() bool XMLUnderlineTypePropHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const { - sal_uInt16 eNewUnderline; + sal_uInt16 eNewUnderline(0); bool bRet = SvXMLUnitConverter::convertEnum( eNewUnderline, rStrImpValue, pXML_UnderlineType_Enum ); if( bRet ) @@ -194,7 +194,7 @@ XMLUnderlineStylePropHdl::~XMLUnderlineStylePropHdl() bool XMLUnderlineStylePropHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const { - sal_uInt16 eNewUnderline; + sal_uInt16 eNewUnderline(0); bool bRet = SvXMLUnitConverter::convertEnum( eNewUnderline, rStrImpValue, pXML_UnderlineStyle_Enum ); if( bRet ) @@ -284,7 +284,7 @@ XMLUnderlineWidthPropHdl::~XMLUnderlineWidthPropHdl() bool XMLUnderlineWidthPropHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const { - sal_uInt16 eNewUnderline; + sal_uInt16 eNewUnderline(0); bool bRet = SvXMLUnitConverter::convertEnum( eNewUnderline, rStrImpValue, pXML_UnderlineWidth_Enum ); if( bRet ) |