[Libreoffice-commits] core.git: svx/source

Maxim Monastirsky momonasmon at gmail.com
Wed May 4 10:38:01 UTC 2016


 svx/source/sidebar/text/TextUnderlinePopup.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7d47700972d267fe7c5270c5dadd45a523a2baec
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date:   Wed May 4 13:36:30 2016 +0300

    Underline should be a split button
    
    Change-Id: I072293e7939d3d9f9349f40aec58729c3731d972

diff --git a/svx/source/sidebar/text/TextUnderlinePopup.cxx b/svx/source/sidebar/text/TextUnderlinePopup.cxx
index 1694034..9e4b638 100644
--- a/svx/source/sidebar/text/TextUnderlinePopup.cxx
+++ b/svx/source/sidebar/text/TextUnderlinePopup.cxx
@@ -28,7 +28,7 @@ SFX_IMPL_TOOLBOX_CONTROL(TextUnderlinePopup, SvxTextLineItem);
 TextUnderlinePopup::TextUnderlinePopup(sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx)
     : SfxToolBoxControl(nSlotId, nId, rTbx)
 {
-    rTbx.SetItemBits(nId, ToolBoxItemBits::DROPDOWNONLY | rTbx.GetItemBits(nId));
+    rTbx.SetItemBits(nId, ToolBoxItemBits::DROPDOWN | rTbx.GetItemBits(nId));
 }
 
 TextUnderlinePopup::~TextUnderlinePopup()


More information about the Libreoffice-commits mailing list