-Werror=maybe-uninitialized
Change-Id: I137814b80790b2cb4c8a2a2b78048024db0b4f86
This commit is contained in:
parent
82e9cfc991
commit
388ffd22b1
1 changed files with 2 additions and 2 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue