From 26ca0cf36ce443c767887c9d865fd0469ef2ddde Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Wed, 22 Dec 2021 14:19:36 +0100 Subject: 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 Reviewed-by: Thorsten Behrens --- sc/source/ui/sidebar/CellLineStyleValueSet.cxx | 1 + 1 file changed, 1 insertion(+) 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(); -- cgit