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

Lionel Elie Mamane lionel at mamane.lu
Wed Jan 28 03:32:06 PST 2015


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

New commits:
commit 1daff1b1e7e5b3c8563e07a8bd0b77b7a3a90f50
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/14214
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.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