summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2021-12-22 14:19:36 +0100
committerThorsten Behrens <thorsten.behrens@allotropia.de>2021-12-23 12:11:04 +0100
commit26ca0cf36ce443c767887c9d865fd0469ef2ddde (patch)
treeea59615db4918125b0fc97c8dc23db54f8a6813b
parenttdf#145062 sw: try to fix UBSan crash in UITest (diff)
downloadcore-26ca0cf36ce443c767887c9d865fd0469ef2ddde.tar.gz
core-26ca0cf36ce443c767887c9d865fd0469ef2ddde.zip
Missing initialization of mnMaxTextWidth
-> No text displayed in sidebar dropdown Fallout from d52b2831ba5ef1475ca148c298ae69291d273255 Change-Id: I908b0c07eaa71d4b19a41c413658a6328e4f99d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127320 Tested-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
-rw-r--r--sc/source/ui/sidebar/CellLineStyleValueSet.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/sidebar/CellLineStyleValueSet.cxx b/sc/source/ui/sidebar/CellLineStyleValueSet.cxx
index 127e7379d0a5..0e492558a01d 100644
--- a/sc/source/ui/sidebar/CellLineStyleValueSet.cxx
+++ b/sc/source/ui/sidebar/CellLineStyleValueSet.cxx
@@ -26,6 +26,7 @@ namespace sc { namespace sidebar {
CellLineStyleValueSet::CellLineStyleValueSet(vcl::Window* pParent)
: ValueSet(pParent, WB_TABSTOP)
+ , mnMaxTextWidth(0)
, nSelItem(0)
{
SetColCount();