diff options
-rw-r--r-- | connectivity/source/commontools/dbtools2.cxx | 7 | ||||
-rw-r--r-- | connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx | 13 |
2 files changed, 7 insertions, 13 deletions
diff --git a/connectivity/source/commontools/dbtools2.cxx b/connectivity/source/commontools/dbtools2.cxx index 158a879a4d43..f3abfb6318fe 100644 --- a/connectivity/source/commontools/dbtools2.cxx +++ b/connectivity/source/commontools/dbtools2.cxx @@ -4,9 +4,9 @@ * * $RCSfile: dbtools2.cxx,v $ * - * $Revision: 1.25 $ + * $Revision: 1.26 $ * - * last change: $Author: vg $ $Date: 2008-01-24 18:14:17 $ + * last change: $Author: vg $ $Date: 2008-01-25 10:31:08 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -43,7 +43,7 @@ #ifndef _DBHELPER_DBCHARSET_HXX_ #include "connectivity/dbcharset.hxx" #endif - +#include <unotools/confignode.hxx> #ifndef CONNECTIVITY_SHAREDRESOURCES_HXX #include "resource/sharedresources.hxx" #endif @@ -105,6 +105,7 @@ #include <tools/diagnose_ex.h> #include <unotools/sharedunocomponent.hxx> +#include <comphelper/configurationhelper.hxx> //......................................................................... namespace dbtools diff --git a/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx b/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx index 8864447de01f..153a2968f4de 100644 --- a/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx +++ b/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx @@ -4,9 +4,9 @@ * * $RCSfile: NDatabaseMetaData.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: vg $ $Date: 2008-01-24 18:17:38 $ + * last change: $Author: vg $ $Date: 2008-01-25 10:31:41 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -412,12 +412,6 @@ sal_Int32 SAL_CALL OEvoabDatabaseMetaData::getMaxColumnsInTable( ) throw(SQLExc return 0;// 0 means no limit } // ------------------------------------------------------------------------- -sal_Int32 SAL_CALL OEvoabDatabaseMetaData::getMaxStatementLength( ) throw(SQLException, RuntimeException) -{ - sal_Int32 nValue = 0; // 0 means no limit - return nValue; -} -// ------------------------------------------------------------------------- sal_Int32 SAL_CALL OEvoabDatabaseMetaData::getMaxTableNameLength( ) throw(SQLException, RuntimeException) { return 0;// 0 means no limit @@ -425,8 +419,7 @@ sal_Int32 SAL_CALL OEvoabDatabaseMetaData::getMaxTableNameLength( ) throw(SQLEx // ------------------------------------------------------------------------- sal_Int32 SAL_CALL OEvoabDatabaseMetaData::getMaxTablesInSelect( ) throw(SQLException, RuntimeException) { - sal_Int32 nValue = 1; // We only support a single table - return nValue; + return 1; // We only support a single table } // ------------------------------------------------------------------------- // ------------------------------------------------------------------------- |