[Libreoffice-commits] core.git: writerfilter/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Sat Apr 10 13:34:11 UTC 2021


 writerfilter/source/dmapper/DomainMapper_Impl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f48ddb48720767414fee4b1dbdced85a8be27d09
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Sat Apr 10 10:25:43 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
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 <noel.grandin at collabora.co.uk>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

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


More information about the Libreoffice-commits mailing list