[Libreoffice-commits] .: connectivity/source

Julien Nabet serval2412 at kemper.freedesktop.org
Sun Feb 5 04:25:21 PST 2012


 connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit df58753d51c41253f26104d146a73ba74c42e33e
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Feb 5 13:23:59 2012 +0100

    Remove wrong return
    
    This return prevented the execution of the following code

diff --git a/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx b/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx
index f3c768d..865c906 100644
--- a/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx
@@ -1039,8 +1039,6 @@ Reference< XResultSet > SAL_CALL MacabDatabaseMetaData::getProcedures(
 Reference< XResultSet > SAL_CALL MacabDatabaseMetaData::getVersionColumns(
     const Any&, const ::rtl::OUString&, const ::rtl::OUString& table ) throw(SQLException, RuntimeException)
 {
-    return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eVersionColumns );
-
     ::connectivity::ODatabaseMetaDataResultSet* pResult = new ::connectivity::ODatabaseMetaDataResultSet(::connectivity::ODatabaseMetaDataResultSet::eVersionColumns);
     Reference< XResultSet > xRef = pResult;
 


More information about the Libreoffice-commits mailing list