diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-09-21 13:11:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-09-21 13:11:07 +0200 |
commit | 6d0b2791c41f27068ef165c020193ff8b30e4ea8 (patch) | |
tree | 1655701b28299cd52ff8a9cbd4af8def3b434b16 /sc | |
parent | 3e9e36f64d29a1abc9b4dd0893e3b80d9944469c (diff) |
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
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/stlpool.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/data/stlpool.cxx b/sc/source/core/data/stlpool.cxx index a0cfdc970123..67a9067eaafe 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 ) { } |