Kaydet (Commit) e5a63993 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast, involving pointer to incomplete type

Change-Id: I4b291f0d40fd8622094a706f8241c8917e4f0cf3
üst 05a651d2
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * 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/DTables.hxx"
#include "dbase/DTable.hxx" #include "dbase/DTable.hxx"
#include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/sdbc/XRow.hpp>
...@@ -45,7 +48,7 @@ using namespace ::com::sun::star::container; ...@@ -45,7 +48,7 @@ using namespace ::com::sun::star::container;
sdbcx::ObjectType ODbaseTables::createObject(const OUString& _rName) 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")); _rName,OUString("TABLE"));
sdbcx::ObjectType xRet = pRet; sdbcx::ObjectType xRet = pRet;
...@@ -60,7 +63,7 @@ void ODbaseTables::impl_refresh( ) throw(RuntimeException) ...@@ -60,7 +63,7 @@ void ODbaseTables::impl_refresh( ) throw(RuntimeException)
Reference< XPropertySet > ODbaseTables::createDescriptor() 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 // XAppend
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment