diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-05 11:16:20 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-05 11:16:42 +0100 |
commit | 05a651d2dd574cf82aa81bb624904ad746e0c5a5 (patch) | |
tree | 92c1521c7317b8f81128d206bbce9c8eb6987948 /connectivity/source/drivers/calc/CTables.cxx | |
parent | 991457df432fc2b386d9c5b6e14e8c0b02415563 (diff) |
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: Ib3127eb72ca72f55ce6082ebcb05fceb80608c47
Diffstat (limited to 'connectivity/source/drivers/calc/CTables.cxx')
-rw-r--r-- | connectivity/source/drivers/calc/CTables.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/connectivity/source/drivers/calc/CTables.cxx b/connectivity/source/drivers/calc/CTables.cxx index 8a2fae9e7fd4..5eb8888be5cd 100644 --- a/connectivity/source/drivers/calc/CTables.cxx +++ b/connectivity/source/drivers/calc/CTables.cxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <calc/CConnection.hxx> #include "calc/CTables.hxx" #include "calc/CTable.hxx" #include "file/FCatalog.hxx" @@ -37,7 +40,7 @@ using namespace ::com::sun::star::container; sdbcx::ObjectType OCalcTables::createObject(const OUString& _rName) { - OCalcTable* pTable = new OCalcTable(this,(OCalcConnection*)static_cast<OFileCatalog&>(m_rParent).getConnection(), + OCalcTable* pTable = new OCalcTable(this, static_cast<OCalcConnection*>(static_cast<OFileCatalog&>(m_rParent).getConnection()), _rName,OUString("TABLE")); sdbcx::ObjectType xRet = pTable; pTable->construct(); |