diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-03 09:40:56 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-03 09:40:56 +0200 |
commit | 388ffd22b1a1cba175521153b3427672c74e31e6 (patch) | |
tree | 1eb4384a197ecdf7de054729e44acbf717c8a86a /xmloff | |
parent | 82e9cfc9910005e55f57ab13dd685f8860f47d27 (diff) |
-Werror=maybe-uninitialized
Change-Id: I137814b80790b2cb4c8a2a2b78048024db0b4f86
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 ) |