[Libreoffice-commits] .: vcl/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Mon Jun 13 23:38:41 PDT 2011
vcl/source/window/toolbox.cxx | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
New commits:
commit b3d34933bde0ec1bf8a8c396c009a633bbce1e5d
Author: Jan Holesovsky <kendy at suse.cz>
Date: Tue Jun 14 08:37:14 2011 +0200
In toolbar menu, remove the downwards triangle and center the '>>'.
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index 272e166..f7b4cb5 100755
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -3312,19 +3312,8 @@ void ToolBox::ImplDrawMenubutton( ToolBox *pThis, sal_Bool bHighlight )
else
aRect.Left() = aRect.Right() - aRect.getWidth()/3;
- if( pThis->mpData->maMenuType & TOOLBOX_MENUTYPE_CUSTOMIZE )
- ImplDrawDropdownArrow( pThis, aRect, sal_True, !pThis->mbHorz );
-
if( pThis->ImplHasClippedItems() )
- {
- aRect = aInnerRect;
- if( pThis->mbHorz )
- aRect.Bottom() = aRect.Top() + aRect.getHeight()/3;
- else
- aRect.Right() = aRect.Left() + aRect.getWidth()/3;
-
- ImplDrawMoreIndicator( pThis, aRect, sal_True, !pThis->mbHorz );
- }
+ ImplDrawMoreIndicator( pThis, aInnerRect, sal_True, !pThis->mbHorz );
// store highlight state
pThis->mpData->mbMenubuttonSelected = bHighlight;
More information about the Libreoffice-commits
mailing list