connectivity/source/sdbcx/VCatalog.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit ad94820ed7bdfb9353d02345e70e02cf2c518893 Author: Lionel Elie Mamane <lio...@mamane.lu> Date: Thu Jul 25 14:32:14 2013 +0200 remove unnecessary const_cast Change-Id: I49348d953614f997d26cb9ad44e39aa0f4b937d2 diff --git a/connectivity/source/sdbcx/VCatalog.cxx b/connectivity/source/sdbcx/VCatalog.cxx index a51e17a..cf5ffb2 100644 --- a/connectivity/source/sdbcx/VCatalog.cxx +++ b/connectivity/source/sdbcx/VCatalog.cxx @@ -110,7 +110,7 @@ Reference< XNameAccess > SAL_CALL OCatalog::getTables( ) throw(RuntimeException // allowed } - return const_cast<OCatalog*>(this)->m_pTables; + return m_pTables; } // ------------------------------------------------------------------------- // XViewsSupplier @@ -134,7 +134,7 @@ Reference< XNameAccess > SAL_CALL OCatalog::getViews( ) throw(RuntimeException) // allowed } - return const_cast<OCatalog*>(this)->m_pViews; + return m_pViews; } // ------------------------------------------------------------------------- // XUsersSupplier @@ -158,7 +158,7 @@ Reference< XNameAccess > SAL_CALL OCatalog::getUsers( ) throw(RuntimeException) // allowed } - return const_cast<OCatalog*>(this)->m_pUsers; + return m_pUsers; } // ------------------------------------------------------------------------- // XGroupsSupplier @@ -182,7 +182,7 @@ Reference< XNameAccess > SAL_CALL OCatalog::getGroups( ) throw(RuntimeException // allowed } - return const_cast<OCatalog*>(this)->m_pGroups; + return m_pGroups; } // ----------------------------------------------------------------------------- OUString OCatalog::buildName(const Reference< XRow >& _xRow) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits