summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2011-06-14 08:37:14 +0200
committerJan Holesovsky <kendy@suse.cz>2011-06-14 08:37:14 +0200
commitf32b2bbb065e5309398a6455e09872e83f6a4d7b (patch)
treef7bc5c3ffe8289105d2f045b491d4b5d613e3684 /vcl
parent3e0ac2a43ae9d2f3d255423637ad271dd97cdafe (diff)
In toolbar menu, remove the downwards triangle and center the '>>'.
Diffstat (limited to 'vcl')
-rwxr-xr-xvcl/source/window/toolbox.cxx13
1 files changed, 1 insertions, 12 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index 989b49627438..8ffe04c4208a 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;