From e20d9867e29c75dbe4c4c87077d461d3c7d5fd86 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 13 Mar 2017 15:49:53 +0000 Subject: Werror=maybe-uninitialized on arm toolchain Change-Id: If728a1da99d9146d60d15b5273a7a89764b82d51 --- xmloff/source/style/undlihdl.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xmloff/source/style') 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 ) -- cgit