-werror=maybe-uninitialized

Change-Id: Iaa1905d181bc6dc86988c68a145d5d8fce11cda9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113904
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2021-04-10 15:33:29 +02:00
parent 68b225bfbf
commit f48ddb4872
@@ -2592,7 +2592,7 @@ void DomainMapper_Impl::PushPageHeaderFooter(bool bHeader, SectionPropertyMap::P
// If we have *hidden* header footer
else if (bLeft && !GetSettingsTable()->GetEvenAndOddHeaders())
{
bool bIsShared;
bool bIsShared = false;
// Turn on the headers
xPageStyle->setPropertyValue(getPropertyName(ePropIsOn), uno::makeAny(true));
// Store the state of the previous state of shared prop