writerfilter/source/dmapper/DomainMapper_Impl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f48ddb48720767414fee4b1dbdced85a8be27d09 Author: Noel Grandin <[email protected]> AuthorDate: Sat Apr 10 10:25:43 2021 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Sat Apr 10 15:33:29 2021 +0200 -werror=maybe-uninitialized Change-Id: Iaa1905d181bc6dc86988c68a145d5d8fce11cda9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113904 Tested-by: Noel Grandin <[email protected]> Reviewed-by: Noel Grandin <[email protected]> diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 200cb75667be..b446190c50b6 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -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 _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
