connectivity/source/drivers/dbase/DTables.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
New commits: commit e5a63993f68edb8182abbf50d24321ec22137889 Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Dec 5 11:28:08 2014 +0100 loplugin:cstylecast, involving pointer to incomplete type Change-Id: I4b291f0d40fd8622094a706f8241c8917e4f0cf3 diff --git a/connectivity/source/drivers/dbase/DTables.cxx b/connectivity/source/drivers/dbase/DTables.cxx index 8ec47ad..ae1361e 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits