summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/odbc/OStatement.hxx
diff options
context:
space:
mode:
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