summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/jdbc/JConnection.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-11-28 10:55:25 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-11-28 10:55:25 +0000
commit9edcb954269282c8432fb10876384d1f114c07a7 (patch)
treeeaf5bf4d85cf0154ba86bfb7093bdebdfe39451e /connectivity/source/drivers/jdbc/JConnection.cxx
parent0590df6217d1400c7a5fc76711c50ebe41e7e31b (diff)
#i10000# #i84032# added missing aMap
Diffstat (limited to 'connectivity/source/drivers/jdbc/JConnection.cxx')
-rw-r--r--connectivity/source/drivers/jdbc/JConnection.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/connectivity/source/drivers/jdbc/JConnection.cxx b/connectivity/source/drivers/jdbc/JConnection.cxx
index 105e50db26a5..0f781ca66c84 100644
--- a/connectivity/source/drivers/jdbc/JConnection.cxx
+++ b/connectivity/source/drivers/jdbc/JConnection.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: JConnection.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: ihi $ $Date: 2007-11-27 12:24:09 $
+ * last change: $Author: ihi $ $Date: 2007-11-28 11:55:25 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -972,6 +972,7 @@ void java_sql_Connection::loadDriverFromProperties( const Sequence< PropertyValu
SDBThreadAttach t;
try
{
+ ::comphelper::SequenceAsHashMap aMap( info );
::rtl::OUString sDriverClassPath,sDriverClass;
sDriverClass = aMap.getUnpackedValueOrDefault(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("JavaDriverClass")),sDriverClass);
sDriverClassPath = aMap.getUnpackedValueOrDefault(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("JavaDriverClassPath")),sDriverClassPath);