summaryrefslogtreecommitdiff
path: root/UnoControls/inc
diff options
context:
space:
mode:
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)));}
/**_______________________________________________________________________________________________________
*/