[Libreoffice-commits] core.git: dbaccess/source
Lionel Elie Mamane
lionel at mamane.lu
Sun Jan 25 20:28:32 PST 2015
dbaccess/source/core/misc/dsntypes.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4735ad02167576036c9f3c9dffb3ccbd0a884db7
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Mon Jan 26 04:44:08 2015 +0100
tdf#70236 propertly recognise full Access 2007 URL
Change-Id: If1f4986cfffada6a6ab507296a54589bdd5404ff
diff --git a/dbaccess/source/core/misc/dsntypes.cxx b/dbaccess/source/core/misc/dsntypes.cxx
index 421b6b81..3b73fa1 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;
More information about the Libreoffice-commits
mailing list