Tag: cws_src680_sqlite User: aklitzing Date: 2006/08/18 11:55:32 Modified: dba/connectivity/source/drivers/sqlite3/sqDriver.cxx
Log: * Versioning changed * wrong URL size fixed File Changes: Directory: /dba/connectivity/source/drivers/sqlite3/ ==================================================== File [changed]: sqDriver.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/sqlite3/sqDriver.cxx?r1=1.1.2.2&r2=1.1.2.3 Delta lines: +5 -6 ------------------- --- sqDriver.cxx 16 Aug 2006 16:00:42 -0000 1.1.2.2 +++ sqDriver.cxx 18 Aug 2006 18:55:30 -0000 1.1.2.3 @@ -4,9 +4,9 @@ * * $RCSfile: sqDriver.cxx,v $ * - * $Revision: 1.1.2.2 $ + * $Revision: 1.1.2.3 $ * - * last change: $Author: aklitzing $ $Date: 2006/08/16 16:00:42 $ + * last change: $Author: aklitzing $ $Date: 2006/08/18 18:55:30 $ * * Original contributor: André Klitzing * @@ -37,7 +37,6 @@ #include "sqDriver.hxx" #include "sqConnection.hxx" -#include "sqVersion.h" using namespace com::sun::star::uno; using namespace com::sun::star::lang; @@ -134,7 +133,7 @@ sal_Bool SAL_CALL SQLiteDriver3::acceptsURL( const ::rtl::OUString& url ) throw(SQLException, RuntimeException) { - return (!url.compareTo(::rtl::OUString::createFromAscii("sdbc:sqlite3:"),12)); + return (!url.compareTo(::rtl::OUString::createFromAscii("sdbc:sqlite3:"), 13)); } // -------------------------------------------------------------------------------- Sequence< DriverPropertyInfo > SAL_CALL SQLiteDriver3::getPropertyInfo( const ::rtl::OUString& url, const Sequence< PropertyValue >& info ) throw(SQLException, RuntimeException) @@ -145,12 +144,12 @@ // -------------------------------------------------------------------------------- sal_Int32 SAL_CALL SQLiteDriver3::getMajorVersion( ) throw(RuntimeException) { - return SQLITE3_SDBC_MAJOR; + return SQLITE3_MAJOR; } // -------------------------------------------------------------------------------- sal_Int32 SAL_CALL SQLiteDriver3::getMinorVersion( ) throw(RuntimeException) { - return SQLITE3_SDBC_MINOR; + return SQLITE3_MINOR; } // -------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
