summaryrefslogtreecommitdiff
path: root/UnoControls/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:22:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:22:58 +0200
commitb997705c07810d032c2f0293d4cfbccf14679855 (patch)
tree32e27284e27efef1a33d2ba8c35615ac6004e704 /UnoControls/inc
parent43cc6fa1fa704ff53e56e8fe34e673c6733c9b4e (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I2828f5fe78efffaa5dee19a3d56592d12878d956
Diffstat (limited to 'UnoControls/inc')
-rw-r--r--UnoControls/inc/multiplexer.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/UnoControls/inc/multiplexer.hxx b/UnoControls/inc/multiplexer.hxx
index 0c706479c052..f0217502a026 100644
--- a/UnoControls/inc/multiplexer.hxx
+++ b/UnoControls/inc/multiplexer.hxx
@@ -134,7 +134,7 @@ public:
/**_______________________________________________________________________________________________________
*/
- operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() const { return ((OWeakObject*)this);}
+ operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() const { return (static_cast<OWeakObject*>(const_cast<OMRCListenerMultiplexerHelper *>(this)));}
/**_______________________________________________________________________________________________________
*/