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

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Sat May 9 12:43:11 UTC 2020


 dbaccess/source/sdbtools/connection/tablename.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit aa04c3754311bded8dcc47863376191f2fe37b98
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sat May 9 12:33:19 2020 +0200
Commit:     Lionel Elie Mamane <lionel at mamane.lu>
CommitDate: Sat May 9 14:42:35 2020 +0200

    Fix mapping CompositionType->EComposeRule (dbaccess/tablename)
    
    Digging in git history, I got this:
    commit bf7690bc1b444278bef1e355c7463d27381a8700
    Author: Noel Grandin <noel at peralex.com>
    Date:   Thu Feb 25 09:38:09 2016 +0200
    
        convert EComposeRule to scoped enum
    
        Change-Id: I5a2e4f6f6f0f353c75dff85e865608b12c2104f9
    
    but the bug was there from the beginning:
    commit ce7d8915eadfa24c27e7ae261fa222344a3f2e22
    Author: Oliver Bolte <obo at openoffice.org>
    Date:   Mon Jul 10 14:20:25 2006 +0000
    
        INTEGRATION: CWS qiq (1.1.2); FILE ADDED
        2006/05/24 06:54:32 fs 1.1.2.1: XTableName implementation
    
    Change-Id: I3f253f0fc6659d8853798ade3ad2bf2e72a8be82
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93841
    Tested-by: Lionel Elie Mamane <lionel at mamane.lu>
    Reviewed-by: Lionel Elie Mamane <lionel at mamane.lu>

diff --git a/dbaccess/source/sdbtools/connection/tablename.cxx b/dbaccess/source/sdbtools/connection/tablename.cxx
index 21d956da9d91..132484a2469f 100644
--- a/dbaccess/source/sdbtools/connection/tablename.cxx
+++ b/dbaccess/source/sdbtools/connection/tablename.cxx
@@ -187,7 +187,7 @@ namespace sdbtools
                 { CompositionType::ForDataManipulation,      EComposeRule::InDataManipulation },
                 { CompositionType::ForProcedureCalls,        EComposeRule::InProcedureCalls },
                 { CompositionType::ForPrivilegeDefinitions,  EComposeRule::InPrivilegeDefinitions },
-                { CompositionType::ForPrivilegeDefinitions,  EComposeRule::Complete }
+                { CompositionType::Complete,                 EComposeRule::Complete }
             };
 
             bool found = false;


More information about the Libreoffice-commits mailing list