summaryrefslogtreecommitdiff
path: root/svtools/source/graphic/descriptor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/graphic/descriptor.cxx')
-rw-r--r--svtools/source/graphic/descriptor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/graphic/descriptor.cxx b/svtools/source/graphic/descriptor.cxx
index d73cd740a82d..f0020618878c 100644
--- a/svtools/source/graphic/descriptor.cxx
+++ b/svtools/source/graphic/descriptor.cxx
@@ -334,7 +334,7 @@ void GraphicDescriptor::_getPropertyValues( const comphelper::PropertyMapEntry**
{
const char* pMimeType;
- switch( const_cast< Graphic* >( mpGraphic )->GetLink().GetType() )
+ switch( mpGraphic->GetLink().GetType() )
{
case( GFX_LINK_TYPE_NATIVE_GIF ): pMimeType = MIMETYPE_GIF; break;