diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-05 11:28:08 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-05 11:28:08 +0100 |
commit | e5a63993f68edb8182abbf50d24321ec22137889 (patch) | |
tree | f9463df189c4884eb55d855d2e6a1cb62ad1ba80 /connectivity/source/drivers/dbase | |
parent | 05a651d2dd574cf82aa81bb624904ad746e0c5a5 (diff) |
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: I4b291f0d40fd8622094a706f8241c8917e4f0cf3
Diffstat (limited to 'connectivity/source/drivers/dbase')
-rw-r--r-- | connectivity/source/drivers/dbase/DTables.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/connectivity/source/drivers/dbase/DTables.cxx b/connectivity/source/drivers/dbase/DTables.cxx index 8ec47ad96758..ae1361e5e294 100644 --- a/connectivity/source/drivers/dbase/DTables.cxx +++ b/connectivity/source/drivers/dbase/DTables.cxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <dbase/DConnection.hxx> #include "dbase/DTables.hxx" #include "dbase/DTable.hxx" #include <com/sun/star/sdbc/XRow.hpp> @@ -45,7 +48,7 @@ using namespace ::com::sun::star::container; sdbcx::ObjectType ODbaseTables::createObject(const OUString& _rName) { - ODbaseTable* pRet = new ODbaseTable(this,(ODbaseConnection*)static_cast<OFileCatalog&>(m_rParent).getConnection(), + ODbaseTable* pRet = new ODbaseTable(this, static_cast<ODbaseConnection*>(static_cast<OFileCatalog&>(m_rParent).getConnection()), _rName,OUString("TABLE")); sdbcx::ObjectType xRet = pRet; @@ -60,7 +63,7 @@ void ODbaseTables::impl_refresh( ) throw(RuntimeException) Reference< XPropertySet > ODbaseTables::createDescriptor() { - return new ODbaseTable(this,(ODbaseConnection*)static_cast<OFileCatalog&>(m_rParent).getConnection()); + return new ODbaseTable(this, static_cast<ODbaseConnection*>(static_cast<OFileCatalog&>(m_rParent).getConnection())); } // XAppend |