[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Wed Sep 21 11:14:41 UTC 2016
sc/source/core/data/stlpool.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 6d0b2791c41f27068ef165c020193ff8b30e4ea8
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Sep 21 13:11:07 2016 +0200
ASan/UBSan reports read of uninitialized bHasStandardStyles
...during CppunitTest_sc_subsequent_filters_test, where
7911f21cd3e0deb6c1966dc97b8a5e5cf994d3af "Add to a method to check if stlpool
already has standard styles" apparently forgot to initialize it
Change-Id: I66c6ccb8f3a3ec38ed326ccf35f3a82711c4ef6f
diff --git a/sc/source/core/data/stlpool.cxx b/sc/source/core/data/stlpool.cxx
index a0cfdc9..67a9067 100644
--- a/sc/source/core/data/stlpool.cxx
+++ b/sc/source/core/data/stlpool.cxx
@@ -59,7 +59,8 @@ ScStyleSheetPool::ScStyleSheetPool( SfxItemPool& rPoolP,
ScDocument* pDocument )
: SfxStyleSheetPool( rPoolP ),
pActualStyleSheet( nullptr ),
- pDoc( pDocument )
+ pDoc( pDocument ),
+ bHasStandardStyles( false )
{
}
More information about the Libreoffice-commits
mailing list