Uninitialized data member

Desktop / LibreOffice - Stephan Bergmann [redhat.com] - 15 September 2021 08:14 UTC

...introduced in d467cd0dd9e9cf3b018859a592e2638527bc7add "tdf#135683 speedup DocumentRedlineManager::GetRedlinePos", causing isssues like

> [_RUN_____] SwDocTest::testFileNameFields > /sw/inc/docary.hxx:238:50: runtime error: load of value 190, which is not a valid value for type 'bool' > #0 0x2b89dcc7897e in SwRedlineTable::HasOverlappingElements() const /sw/inc/docary.hxx:238:50 > #1 0x2b89dcc40efc in sw::DocumentRedlineManager::GetRedlinePos(SwNode const&, RedlineType) const /sw/source/core/doc/DocumentRedlineManager.cxx:2624:25 > #2 0x2b89df2a4e8c in SwScriptInfo::selectRedLineDeleted(SwTextNode const&, MultiSelection&, bool) /sw/source/core/text/porlay.cxx:2653:44 > #3 0x2b89df285fbe in SwScriptInfo::CalcHiddenRanges(SwTextNode const&, MultiSelection&, std::__debug::vector, std::allocator > >*) /sw/source/core/text/porlay.cxx:2687:5 > #4 0x2b89df29359b in SwScriptInfo::GetBoundsOfHiddenRange(SwTextNode const&, int, int&, int&, std::__debug::vector >*) /sw/source/core/text/porlay.cxx:1917:9 > #5 0x2b89dfa1c1e6 in SwTextNode::CalcHiddenCharFlags() const /sw/source/core/txtnode/ndtxt.cxx:4522:5 [...]

during CppunitTest_sw_uwriter at

Change-Id: I42c8801f83d2e92a826864494b1f0f4c63f30f6f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122109

bd7e394769f4 Uninitialized data member
sw/inc/docary.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share