summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2005-02-24 13:40:24 +0000
committerVladimir Glazounov <vg@openoffice.org>2005-02-24 13:40:24 +0000
commitbcb8ecf10f248baeb4ec3b8d542d73f440b5e9ee (patch)
tree3acaf5bcb6d23f6d0a3e24232a4458c1c95d7a6d
parent1650bd9119622ef94b164551d5bba13458e673a1 (diff)
INTEGRATION: CWS cmcfixes2 (1.10.56); FILE MERGED
2005/02/11 15:28:47 cmc 1.10.56.1: #i42421# iterators are not pointers
-rw-r--r--connectivity/source/drivers/odbc/ODriver.cxx7
1 files 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 >();