summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmloff/source/style/cdouthdl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/cdouthdl.cxx b/xmloff/source/style/cdouthdl.cxx
index 35113f3976c3..7f10c0288916 100644
--- a/xmloff/source/style/cdouthdl.cxx
+++ b/xmloff/source/style/cdouthdl.cxx
@@ -81,7 +81,7 @@ XMLCrossedOutTypePropHdl::~XMLCrossedOutTypePropHdl()
bool XMLCrossedOutTypePropHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const
{
- sal_uInt16 eNewStrikeout;
+ sal_uInt16 eNewStrikeout = 0;
bool bRet = SvXMLUnitConverter::convertEnum(
eNewStrikeout, rStrImpValue, pXML_CrossedoutType_Enum );
if( bRet )
@@ -204,7 +204,7 @@ XMLCrossedOutWidthPropHdl::~XMLCrossedOutWidthPropHdl()
bool XMLCrossedOutWidthPropHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const
{
- sal_uInt16 eNewStrikeout;
+ sal_uInt16 eNewStrikeout = 0;
bool bRet = SvXMLUnitConverter::convertEnum(
eNewStrikeout, rStrImpValue, pXML_CrossedoutWidth_Enum );
if( bRet )