summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2015-01-26 04:44:08 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2015-01-26 05:27:19 +0100
commit4735ad02167576036c9f3c9dffb3ccbd0a884db7 (patch)
tree7db9de24b70ffae2277a8e4744e8221895c57c5c
parent784d069cc1d9f1d6e6a4e543a278376ab483d1eb (diff)
tdf#70236 propertly recognise full Access 2007 URL
Change-Id: If1f4986cfffada6a6ab507296a54589bdd5404ff
-rw-r--r--dbaccess/source/core/misc/dsntypes.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/misc/dsntypes.cxx b/dbaccess/source/core/misc/dsntypes.cxx
index 421b6b818594..3b73fa1e3980 100644
--- a/dbaccess/source/core/misc/dsntypes.cxx
+++ b/dbaccess/source/core/misc/dsntypes.cxx
@@ -361,7 +361,7 @@ DATASOURCE_TYPE ODsnTypeCollection::determineType(const OUString& _rDsn) const
{
if (sDsn.startsWithIgnoreAsciiCase("sdbc:ado:access"))
{
- if (sDsn.equalsIgnoreAsciiCase("sdbc:ado:access:Provider=Microsoft.ACE.OLEDB.12.0;"))
+ if (sDsn.startsWithIgnoreAsciiCase("sdbc:ado:access:Provider=Microsoft.ACE.OLEDB.12.0;"))
return DST_MSACCESS_2007;
else
return DST_MSACCESS;