summaryrefslogtreecommitdiff
path: root/dbaccess/source/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:24:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:24:31 +0200
commit85380260003dd481b97436adb14daf08ffd897c3 (patch)
tree013083d44475d67ee33a3d287f6be4cbc727b061 /dbaccess/source/inc
parenta4fdc347f8809638af5c598346ec4c978ee40dbe (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: If951c1982314c5a045d51bc4fff62a3e2b265e08
Diffstat (limited to 'dbaccess/source/inc')
-rw-r--r--dbaccess/source/inc/apitools.hxx2
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)); }
};