sc/source/ui/sidebar/CellLineStyleValueSet.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 26ca0cf36ce443c767887c9d865fd0469ef2ddde
Author:     Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de>
AuthorDate: Wed Dec 22 14:19:36 2021 +0100
Commit:     Thorsten Behrens <thorsten.behr...@allotropia.de>
CommitDate: Thu Dec 23 12:11:04 2021 +0100

    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.mehrbr...@allotropia.de>
    Reviewed-by: Thorsten Behrens <thorsten.behr...@allotropia.de>

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();

Reply via email to