diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-04 15:33:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-04 17:13:21 +0100 |
commit | 1a3c99f2c31dbc4dd6b3b5788ea0b49a34bea2c6 (patch) | |
tree | a2be3e4b33ed214e331b013983643fc8cd488cbf /vcl/source/window/toolbox2.cxx | |
parent | 9f1be6c65210e600baee5c63480df58e8b8ce7b1 (diff) |
callcatcher: update unusedcode
mostly changed due to loplugin:constantfunction
Change-Id: Ib677c78db256f8032a99b3f02a3e363fee68ebcc
Diffstat (limited to 'vcl/source/window/toolbox2.cxx')
-rw-r--r-- | vcl/source/window/toolbox2.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx index 7fbdb39ddbd3..2c9a9d0eda9e 100644 --- a/vcl/source/window/toolbox2.cxx +++ b/vcl/source/window/toolbox2.cxx @@ -1022,18 +1022,6 @@ Rectangle ToolBox::GetItemPosRect( sal_uInt16 nPos ) const return Rectangle(); } -Size ToolBox::GetItemContentSize( sal_uInt16 nItemId ) const -{ - if ( mbCalc || mbFormat ) - const_cast<ToolBox*>(this)->ImplFormat(); - - sal_uInt16 nPos = GetItemPos( nItemId ); - if ( nPos < mpData->m_aItems.size() ) - return mpData->m_aItems[nPos].maContentSize; - else - return Size(); -} - bool ToolBox::ImplHasExternalMenubutton() { // check if the borderwindow (i.e. the decoration) provides the menu button |