summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--offapi/com/sun/star/graphic/MediaProperties.idl1
-rw-r--r--svtools/source/graphic/provider.cxx10
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() )
{