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

Lionel Elie Mamane lionel at mamane.lu
Tue Jan 27 11:58:26 PST 2015


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

New commits:
commit ce7017cdbe5af3f75cded806f69c1040857b557f
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/14213
    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 7524ff2..835dbd3 100644
--- a/dbaccess/source/core/misc/dsntypes.cxx
+++ b/dbaccess/source/core/misc/dsntypes.cxx
@@ -368,7 +368,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