diff options
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() ) { |