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

Stephan Bergmann sbergman at redhat.com
Fri Jan 22 00:53:55 PST 2016


 editeng/source/items/numitem.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit d90a20833a815362c344b82fc16b4bbcff0ebf07
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jan 22 09:51:15 2016 +0100

    Missing initialization of SvxNumberFormat::mbNumAdjustChanged
    
    introduced in 6517141b6233c5f9667031bc92f66109fddf5b76 "tdf#42788: FORMATTING -
    Numbering/ordered list," causing a read of the uninitialized value in
    CppunitTest_sd_html_export_tests.
    
    Change-Id: I7955593999e3a2bedca815ee447d96c1b997a358

diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 23ca941..a7685eb 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -181,7 +181,8 @@ SvxNumberFormat::SvxNumberFormat(const SvxNumberFormat& rFormat) :
 }
 
 SvxNumberFormat::SvxNumberFormat( SvStream &rStream )
-    : nStart(0)
+    : mbNumAdjustChanged(false)
+    , nStart(0)
     , nBulletRelSize(100)
     , nFirstLineOffset(0)
     , nAbsLSpace(0)


More information about the Libreoffice-commits mailing list