summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/file/FStatement.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/inc/file/FStatement.hxx')
-rw-r--r--connectivity/source/inc/file/FStatement.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/inc/file/FStatement.hxx b/connectivity/source/inc/file/FStatement.hxx
index b7747c8b6c63..1ee2f09cb3bb 100644
--- a/connectivity/source/inc/file/FStatement.hxx
+++ b/connectivity/source/inc/file/FStatement.hxx
@@ -173,7 +173,7 @@ namespace connectivity
friend class connectivity::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