[Libreoffice-commits] core.git: dbaccess/source

Lionel Elie Mamane lionel at mamane.lu
Tue Jan 27 01:43:30 PST 2015


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

New commits:
commit b5dd15832a0d88e407511e408d833ebf5c764534
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Mon Jan 26 05:19:58 2015 +0100

    this seems to be the intent of the code
    
    and what it did prior to the OUString conversion
    
    Change-Id: I97aba7e51f56e77101f591d7e9849b7243d6c90b
    Reviewed-on: https://gerrit.libreoffice.org/14179
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/dbaccess/source/core/misc/dsntypes.cxx b/dbaccess/source/core/misc/dsntypes.cxx
index 13b2cfa..a88bd28 100644
--- a/dbaccess/source/core/misc/dsntypes.cxx
+++ b/dbaccess/source/core/misc/dsntypes.cxx
@@ -359,7 +359,7 @@ DATASOURCE_TYPE ODsnTypeCollection::determineType(const OUString& _rDsn) const
 
     if (sDsn.startsWithIgnoreAsciiCase("sdbc:ado:"))
     {
-        if (sDsn.startsWithIgnoreAsciiCase("sdbc:ado:access"))
+        if (sDsn.startsWithIgnoreAsciiCase("sdbc:ado:access:"))
         {
             if (sDsn.startsWithIgnoreAsciiCase("sdbc:ado:access:Provider=Microsoft.ACE.OLEDB.12.0;"))
                 return DST_MSACCESS_2007;


More information about the Libreoffice-commits mailing list