diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/toolbarmenu.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/svtools/source/control/toolbarmenu.cxx b/svtools/source/control/toolbarmenu.cxx index 5f91e2e45809..9efa51867f6e 100644 --- a/svtools/source/control/toolbarmenu.cxx +++ b/svtools/source/control/toolbarmenu.cxx @@ -639,7 +639,6 @@ Size ToolbarMenu::implCalcSize() Size aMaxImgSz; long nMaxTextWidth = 0; long nMinMenuItemHeight = nFontHeight+2; - sal_Bool bCheckable = sal_False; const int nEntryCount = mpImpl->maEntryVector.size(); int nEntry; @@ -668,8 +667,6 @@ Size ToolbarMenu::implCalcSize() if ( aMaxImgSz.Width() ) mpImpl->mnTextPos += std::max( nExtra, 7L ); - if ( bCheckable ) - mpImpl->mnTextPos += 16; // set heights, calc maximum width for( nEntry = 0; nEntry < nEntryCount; nEntry++ ) @@ -678,9 +675,6 @@ Size ToolbarMenu::implCalcSize() if( pEntry ) { - if ( ( pEntry->mnBits ) & ( MIB_RADIOCHECK | MIB_CHECKABLE ) ) - bCheckable = sal_True; - // Text: if( pEntry->mbHasText || pEntry->mbHasImage ) { |