summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/odbc/OStatement.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:23:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:23:57 +0200
commitf1b0eec9d3b3511e4c9381ad1f486f51772c852c (patch)
tree5a3873f943a6fd8d07618cbc3a3018583a66d178 /connectivity/source/inc/odbc/OStatement.hxx
parent66a0a3726adc17f1f5378c4c6de00bb930a370d5 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I8c3f4d39629bbfee91402bddfe27b4d104c524c0
Diffstat (limited to 'connectivity/source/inc/odbc/OStatement.hxx')
-rw-r--r--connectivity/source/inc/odbc/OStatement.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/inc/odbc/OStatement.hxx b/connectivity/source/inc/odbc/OStatement.hxx
index 975eb0b5f60a..3f40d2bdc9f4 100644
--- a/connectivity/source/inc/odbc/OStatement.hxx
+++ b/connectivity/source/inc/odbc/OStatement.hxx
@@ -210,7 +210,7 @@ namespace connectivity
friend class OSubComponent<OStatement_BASE2, OStatement_BASE>;
public:
OStatement_BASE2(OConnection* _pConnection ) : OStatement_Base(_pConnection ),
- ::connectivity::OSubComponent<OStatement_BASE2, OStatement_BASE>((::cppu::OWeakObject*)_pConnection, this){}
+ ::connectivity::OSubComponent<OStatement_BASE2, OStatement_BASE>(static_cast<cppu::OWeakObject*>(_pConnection), this){}
// OComponentHelper
virtual void SAL_CALL disposing() SAL_OVERRIDE;
// XInterface