summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2020-05-09 12:33:19 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2020-05-09 14:42:35 +0200
commitaa04c3754311bded8dcc47863376191f2fe37b98 (patch)
treecf56d070e2bfcd361f17cc63b146bcb906488ce2 /dbaccess
parent863de3f7c4031f3d583debeebe0fdd8ef1ac3911 (diff)
Fix mapping CompositionType->EComposeRule (dbaccess/tablename)
Digging in git history, I got this: commit bf7690bc1b444278bef1e355c7463d27381a8700 Author: Noel Grandin <noel@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@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@mamane.lu> Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/sdbtools/connection/tablename.cxx2
1 files changed, 1 insertions, 1 deletions
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;