[Libreoffice-commits] .: svx/source

Katarina Machalkova bubli at kemper.freedesktop.org
Wed Feb 16 05:11:01 PST 2011


 svx/source/tbxctrls/tbcontrl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 17ec503d12774d4a567d46eacde0ffc4809d6215
Author: Katarina Machalkova <kmachalkova at suse.cz>
Date:   Wed Feb 16 14:05:36 2011 +0100

    Consistent cell font and background colour toolbar behaviour
    
    Fixes bnc#652214

diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index c50a4fb..316ec00 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -2335,7 +2335,7 @@ SvxFontColorToolBoxControl::SvxFontColorToolBoxControl(
     pBtnUpdater( new ::svx::ToolboxButtonColorUpdater(
                     nSlotId, nId, &GetToolBox(), TBX_UPDATER_MODE_CHAR_COLOR_NEW ))
 {
-    rTbx.SetItemBits( nId, TIB_DROPDOWN | rTbx.GetItemBits( nId ) );
+    rTbx.SetItemBits( nId, TIB_DROPDOWNONLY | rTbx.GetItemBits( nId ) );
 }
 
 // -----------------------------------------------------------------------


More information about the Libreoffice-commits mailing list