WaE: 'bHidden' may be used uninitialized in this function

Change-Id: I452b42593ad36fa13f18126c49a6f80ce2fa9d43
This commit is contained in:
Tor Lillqvist
2014-04-15 10:49:58 +03:00
parent 3e29b0c456
commit 065a1aa0f0

View File

@@ -115,7 +115,7 @@ bool XMLTextImportPropertyMapper::handleSpecialItem(
rUnitConverter );
if( SvXMLImport::OOo_2x == GetImport().getGeneratorVersion() )
{
bool bHidden;
bool bHidden = false;
rProperty.maValue >>= bHidden;
bHidden = !bHidden;
rProperty.maValue <<= bHidden;