diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-12 18:27:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-12 18:27:54 +0200 |
commit | 0bfc98e63b062bc847fd0f37308c050ac618c56f (patch) | |
tree | 0b20885e7bb84fcc7932e5b6488a6efec1716ade /svtools | |
parent | 4e871a9b225c0d21ed703b45400b4e8476214bce (diff) |
loplugin:redundantcast: reinterpret_cast to void*
Change-Id: I947b49cfb15f0e7d6ddfaae386656c70e4bd48ba
Diffstat (limited to 'svtools')
-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 f6eae59e5281..a6ff51dc78c3 100644 --- a/svtools/source/graphic/grfmgr.cxx +++ b/svtools/source/graphic/grfmgr.cxx @@ -396,7 +396,7 @@ OString GraphicObject::GetUniqueID() const SvStream* GraphicObject::GetSwapStream() const { if( HasSwapStreamHdl() ) - return reinterpret_cast<SvStream*>( mpSwapStreamHdl->Call( const_cast<void*>(reinterpret_cast<const void*>(this)) ) ); + return reinterpret_cast<SvStream*>( mpSwapStreamHdl->Call( const_cast<void*>(static_cast<const void*>(this)) ) ); else return GRFMGR_AUTOSWAPSTREAM_NONE; } |