[Libreoffice-commits] core.git: xmloff/source
Caolán McNamara
caolanm at redhat.com
Mon Mar 13 15:52:07 UTC 2017
xmloff/source/style/undlihdl.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit e20d9867e29c75dbe4c4c87077d461d3c7d5fd86
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 13 15:49:53 2017 +0000
Werror=maybe-uninitialized on arm toolchain
Change-Id: If728a1da99d9146d60d15b5273a7a89764b82d51
diff --git a/xmloff/source/style/undlihdl.cxx b/xmloff/source/style/undlihdl.cxx
index 90e731b..f6bd26d 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 )
More information about the Libreoffice-commits
mailing list