diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:31:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:33:37 +0100 |
commit | 0d05f417c3a7dcde89f5e15b29f39ce2db65b543 (patch) | |
tree | 52f3890d679ef16bdd74c075a0e89f7cc036b087 /svtools/source/graphic/grfmgr.cxx | |
parent | 3b9e0676b0a193dbf802a6b703827c9cc0689900 (diff) |
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: Iabe2ecce65a91b003fe042a22630131449968fd8
Diffstat (limited to 'svtools/source/graphic/grfmgr.cxx')
-rw-r--r-- | svtools/source/graphic/grfmgr.cxx | 2 |
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 ); } |