From bcb8ecf10f248baeb4ec3b8d542d73f440b5e9ee Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Thu, 24 Feb 2005 13:40:24 +0000 Subject: [PATCH] INTEGRATION: CWS cmcfixes2 (1.10.56); FILE MERGED 2005/02/11 15:28:47 cmc 1.10.56.1: #i42421# iterators are not pointers --- connectivity/source/drivers/odbc/ODriver.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/connectivity/source/drivers/odbc/ODriver.cxx b/connectivity/source/drivers/odbc/ODriver.cxx index 2c92dd910c80..b248ccd48df2 100644 --- a/connectivity/source/drivers/odbc/ODriver.cxx +++ b/connectivity/source/drivers/odbc/ODriver.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ODriver.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: hr $ $Date: 2004-08-02 17:09:23 $ + * last change: $Author: vg $ $Date: 2005-02-24 14:40:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -58,7 +58,6 @@ * * ************************************************************************/ - #ifndef _CONNECTIVITY_ODBC_ODRIVER_HXX_ #include "odbc/ODriver.hxx" #endif @@ -231,7 +230,7 @@ Sequence< DriverPropertyInfo > SAL_CALL ODBCDriver::getPropertyInfo( const ::rtl ,::rtl::OUString() ,Sequence< ::rtl::OUString >()) ); - return Sequence< DriverPropertyInfo >(aDriverInfo.begin(),aDriverInfo.size()); + return Sequence< DriverPropertyInfo >(&(aDriverInfo[0]),aDriverInfo.size()); } ::dbtools::throwGenericSQLException(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Invalid URL!")) ,*this); return Sequence< DriverPropertyInfo >();