summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-22 09:51:15 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-22 09:53:26 +0100
commitd90a20833a815362c344b82fc16b4bbcff0ebf07 (patch)
tree4ddf4393f8361c98460e5513e8861234daba8ad6
parentfb7edcd806aad98ad61e60b4165771ca3ae13ef3 (diff)
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
-rw-r--r--editeng/source/items/numitem.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 23ca941f49eb..a7685eb2cfa5 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)