diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/XMLTextHeaderFooterContext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLTextHeaderFooterContext.cxx b/xmloff/source/text/XMLTextHeaderFooterContext.cxx index dd14bf7e1dc2..907449125fc3 100644 --- a/xmloff/source/text/XMLTextHeaderFooterContext.cxx +++ b/xmloff/source/text/XMLTextHeaderFooterContext.cxx @@ -65,7 +65,7 @@ XMLTextHeaderFooterContext::XMLTextHeaderFooterContext( SvXMLImport& rImport, sa if (bLeft) { aAny = xPropSet->getPropertyValue( sShareContent ); - bool bShared; + bool bShared = bool(); if (!(aAny >>= bShared)) assert(false); // should return a value! if( bShared ) @@ -77,7 +77,7 @@ XMLTextHeaderFooterContext::XMLTextHeaderFooterContext( SvXMLImport& rImport, sa if (bFirst) { aAny = xPropSet->getPropertyValue( sShareContentFirst ); - bool bSharedFirst; + bool bSharedFirst = bool(); if (!(aAny >>= bSharedFirst)) assert(false); // should return a value! if( bSharedFirst ) |