diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-22 14:32:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-23 04:46:35 +0000 |
commit | 46d3163f779a43cc7c023a6e8141f990e5d23292 (patch) | |
tree | 99c87b90b69f3c59edb91206b364a4e5c9b1c640 /vcl/source/window/toolbox2.cxx | |
parent | c2a20af2c12bf75e7378a3a9dbc50a4dddabdebc (diff) |
loplugin:unusedmethods
Change-Id: Ife4c8d948ffa116f044d43903de9485e43cfcae5
Reviewed-on: https://gerrit.libreoffice.org/32336
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/toolbox2.cxx')
-rw-r--r-- | vcl/source/window/toolbox2.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx index 73af1121e980..037d228e1e60 100644 --- a/vcl/source/window/toolbox2.cxx +++ b/vcl/source/window/toolbox2.cxx @@ -970,21 +970,6 @@ void ToolBox::SetItemImage( sal_uInt16 nItemId, const Image& rImage ) } } -void ToolBox::SetImageList( const ImageList& rImageList ) -{ - maImageList = rImageList; - - sal_uInt16 nCount = (sal_uInt16)mpData->m_aItems.size(); - for( sal_uInt16 i = 0; i < nCount; i++ ) - { - Image aImage; - if ( mpData->m_aItems[i].mnId ) - aImage = maImageList.GetImage( mpData->m_aItems[i].mnId ); - if( !!aImage ) - SetItemImage( mpData->m_aItems[i].mnId, aImage ); - } -} - static Image ImplRotImage( const Image& rImage, long nAngle10 ) { Image aRet; |