diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-05 12:52:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-05 13:24:09 +0000 |
commit | 9253dae3611d02ece90fba1fd5255901a0924589 (patch) | |
tree | 6d7ddfedc95dda5e292b862ab1a13f8608362679 /vcl/source/image | |
parent | 619456ed85b8b7596a3d4eab548b683da7512e4f (diff) |
drop newly unused InsertFromHorizontalBitmap
Change-Id: Ia0b0032bf261712be30ac23c8e5ce993011b2e5c
Diffstat (limited to 'vcl/source/image')
-rw-r--r-- | vcl/source/image/ImageList.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/vcl/source/image/ImageList.cxx b/vcl/source/image/ImageList.cxx index e9b8c33d96c4..6610c51c3216 100644 --- a/vcl/source/image/ImageList.cxx +++ b/vcl/source/image/ImageList.cxx @@ -118,21 +118,6 @@ void ImageList::InsertFromHorizontalStrip( const BitmapEx &rBitmapEx, } } -void ImageList::InsertFromHorizontalBitmap( const ResId& rResId, - sal_uInt16 nCount, - const Color *pSearchColors, - const Color *pReplaceColors, - sal_uLong nColorCount) -{ - BitmapEx aBmpEx( rResId ); - - if ( nColorCount && pSearchColors && pReplaceColors ) - aBmpEx.Replace( pSearchColors, pReplaceColors, nColorCount ); - - std::vector< OUString > aNames( nCount ); - InsertFromHorizontalStrip( aBmpEx, aNames ); -} - sal_uInt16 ImageList::ImplGetImageId( const OUString& rImageName ) const { ImageAryData *pImg = mpImplData->maNameHash[ rImageName ]; |