summaryrefslogtreecommitdiff
path: root/svtools/source/graphic/grfmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/graphic/grfmgr.cxx')
-rw-r--r--svtools/source/graphic/grfmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx
index 30758854e030..c91b6e0236b3 100644
--- a/svtools/source/graphic/grfmgr.cxx
+++ b/svtools/source/graphic/grfmgr.cxx
@@ -199,7 +199,7 @@ void GraphicObject::ImplSetGraphicManager( const GraphicManager* pMgr, const OSt
mpMgr = mpGlobalMgr;
}
else
- mpMgr = (GraphicManager*) pMgr;
+ mpMgr = const_cast<GraphicManager*>(pMgr);
mpMgr->ImplRegisterObj( *this, maGraphic, pID, pCopyObj );
}