diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-30 14:35:24 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-30 16:33:32 +0000 |
commit | 21f934a7c54e6a62aac046b99e05bbcf394c4de4 (patch) | |
tree | 361155efd0a4dc4fc99553080595db1a69c41c0b /svtools | |
parent | 3ff74ff16b43cccf86cfd56c1f6b7ce30ce0b65d (diff) |
ImageLists no longer loaded from resource files
Change-Id: I5bf1c75dce7bc9af6aaa92447fab7239dff4b676
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/graphic/provider.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/svtools/source/graphic/provider.cxx b/svtools/source/graphic/provider.cxx index 908d8166efca..3666fdcc2c22 100644 --- a/svtools/source/graphic/provider.cxx +++ b/svtools/source/graphic/provider.cxx @@ -294,26 +294,6 @@ uno::Reference< ::graphic::XGraphic > GraphicProvider::implLoadResource( const O aBmpEx = aImage.GetBitmapEx(); } } - else if( aResourceType == "imagelist" ) - { - aResId.SetRT( RSC_IMAGELIST ); - - if( pResMgr->IsAvailable( aResId ) ) - { - const ImageList aImageList( aResId ); - sal_Int32 nImageId = ( nIndex > -1 ) ? rResourceURL.getToken( 0, '/', nIndex ).toInt32() : 0; - - if( 0 < nImageId ) - { - const Image aImage( aImageList.GetImage( sal::static_int_cast< sal_uInt16 >(nImageId) ) ); - aBmpEx = aImage.GetBitmapEx(); - } - else - { - aBmpEx = aImageList.GetAsHorizontalStrip(); - } - } - } if( !aBmpEx.IsEmpty() ) { |