diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-19 20:56:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-19 21:00:19 +0000 |
commit | e3cfa49e8113493cfc59ccc8302840d19fa7572e (patch) | |
tree | c3788fc30b4dbe0561c2f3d3c95fe0891e7431ad | |
parent | a0f127d2209e80e085b95770a87df2898b7ad645 (diff) |
drop now unusd private:resource/.../image urls
Change-Id: Ic456113b295c3b90316d2792b630c44892ac20a7
-rw-r--r-- | offapi/com/sun/star/graphic/MediaProperties.idl | 1 | ||||
-rw-r--r-- | svtools/source/graphic/provider.cxx | 10 |
2 files changed, 0 insertions, 11 deletions
diff --git a/offapi/com/sun/star/graphic/MediaProperties.idl b/offapi/com/sun/star/graphic/MediaProperties.idl index 585b834e2e21..a107e2bec939 100644 --- a/offapi/com/sun/star/graphic/MediaProperties.idl +++ b/offapi/com/sun/star/graphic/MediaProperties.idl @@ -46,7 +46,6 @@ published service MediaProperties <ul> <li>private:resource/projectshortname/bitmap/12345</li> <li>private:resource/projectshortname/bitmapex/12345</li> - <li>private:resource/projectshortname/image/12345</li> </ul> And additionally, GraphicObject scheme URLs like <ul> <li>vnd.sun.star.GraphicObject:10000000000001940000012FB99807BD</li> </ul> diff --git a/svtools/source/graphic/provider.cxx b/svtools/source/graphic/provider.cxx index 3666fdcc2c22..f4631b796091 100644 --- a/svtools/source/graphic/provider.cxx +++ b/svtools/source/graphic/provider.cxx @@ -284,16 +284,6 @@ uno::Reference< ::graphic::XGraphic > GraphicProvider::implLoadResource( const O aBmpEx = BitmapEx( aResId ); } } - else if( aResourceType == "image" ) - { - aResId.SetRT( RSC_IMAGE ); - - if( pResMgr->IsAvailable( aResId ) ) - { - const Image aImage( aResId ); - aBmpEx = aImage.GetBitmapEx(); - } - } if( !aBmpEx.IsEmpty() ) { |