diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:26:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:26:34 +0200 |
commit | 948a3ece9a9ba00201a01268e2facaf178ed8d79 (patch) | |
tree | 7339cd4e9a07fcf487a850abb4b7b6a63a2bf1ae /mysqlc/source/mysqlc_statement.cxx | |
parent | a04610788c7089c41e2f32b3bf911560f5a53fcc (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I18ea5378c165912e988d0c951aab3d83754cf6ca
Diffstat (limited to 'mysqlc/source/mysqlc_statement.cxx')
-rw-r--r-- | mysqlc/source/mysqlc_statement.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysqlc/source/mysqlc_statement.cxx b/mysqlc/source/mysqlc_statement.cxx index f2a15d38f7af..fc167d711e46 100644 --- a/mysqlc/source/mysqlc_statement.cxx +++ b/mysqlc/source/mysqlc_statement.cxx @@ -56,7 +56,7 @@ using ::osl::MutexGuard; OCommonStatement::OCommonStatement(OConnection* _pConnection, sql::Statement *_cppStatement) :OCommonStatement_IBase(m_aMutex) ,OPropertySetHelper(OCommonStatement_IBase::rBHelper) - ,OStatement_CBase( (::cppu::OWeakObject*)_pConnection, this ) + ,OStatement_CBase( static_cast<cppu::OWeakObject*>(_pConnection), this ) ,m_pConnection(_pConnection) ,cppStatement(_cppStatement) ,rBHelper(OCommonStatement_IBase::rBHelper) |