diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:24:31 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:24:31 +0200 |
commit | 85380260003dd481b97436adb14daf08ffd897c3 (patch) | |
tree | 013083d44475d67ee33a3d287f6be4cbc727b061 /dbaccess/source/inc | |
parent | a4fdc347f8809638af5c598346ec4c978ee40dbe (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: If951c1982314c5a045d51bc4fff62a3e2b265e08
Diffstat (limited to 'dbaccess/source/inc')
-rw-r--r-- | dbaccess/source/inc/apitools.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/inc/apitools.hxx b/dbaccess/source/inc/apitools.hxx index bf3302337036..6672420abac6 100644 --- a/dbaccess/source/inc/apitools.hxx +++ b/dbaccess/source/inc/apitools.hxx @@ -54,7 +54,7 @@ public: virtual void SAL_CALL release() throw() SAL_OVERRIDE; inline operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > () const - { return (::com::sun::star::uno::XWeak *)this; } + { return static_cast<com::sun::star::uno::XWeak *>(const_cast<OSubComponent *>(this)); } }; |