[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - dbaccess/source

Lionel Elie Mamane lionel at mamane.lu
Tue Jan 27 11:59:22 PST 2015


 dbaccess/source/core/misc/dsntypes.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 73a1dd0ab850e089260e2c9af63f1998144bbebf
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
    Reviewed-on: https://gerrit.libreoffice.org/14212
    Tested-by: Michael Stahl <mstahl at redhat.com>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/dbaccess/source/core/misc/dsntypes.cxx b/dbaccess/source/core/misc/dsntypes.cxx
index c6b2419..f731a2e 100644
--- a/dbaccess/source/core/misc/dsntypes.cxx
+++ b/dbaccess/source/core/misc/dsntypes.cxx
@@ -360,7 +360,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