xmloff/source/text/XMLTextHeaderFooterContext.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 388ffd22b1a1cba175521153b3427672c74e31e6 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue May 3 09:40:56 2016 +0200 -Werror=maybe-uninitialized Change-Id: I137814b80790b2cb4c8a2a2b78048024db0b4f86 diff --git a/xmloff/source/text/XMLTextHeaderFooterContext.cxx b/xmloff/source/text/XMLTextHeaderFooterContext.cxx index dd14bf7..9074491 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 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits