summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-03-10 11:29:19 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2019-03-10 12:59:36 +0100
commitf8eef913a33b24ce6d9c6e37fdcc2614ab823659 (patch)
tree65dda99af1f6504c9ad14a9f5a010c9a94d44881 /dbaccess
parent695f6746b555a7b74e84c466469c28030be99e73 (diff)
tdf#121092: save GenerateASBeforeCorrelationName to ODB
As mentioned in connectivity/registry/README, the property should be named differently in Features and Properties sections. Also the default value set in ODbAdminDialog::createItemSet should be synchronized with the other defaults, because otherwise, in case when the value is absent in the set (when it is default), this value is used in the dialog... sigh, we have too much places where relevant defaults are generated and need to be in sync. TODO: this should be reimplemented to take all defaults from the xcu. Change-Id: Ia61ab2e585107ede9c977cf563cb30e45d624bed Reviewed-on: https://gerrit.libreoffice.org/69002 Tested-by: Jenkins Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/dlg/dbadmin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/dlg/dbadmin.cxx b/dbaccess/source/ui/dlg/dbadmin.cxx
index 58d065dc1e79..bf6b8ec4a149 100644
--- a/dbaccess/source/ui/dlg/dbadmin.cxx
+++ b/dbaccess/source/ui/dlg/dbadmin.cxx
@@ -326,7 +326,7 @@ void ODbAdminDialog::createItemSet(std::unique_ptr<SfxItemSet>& _rpSet, SfxItemP
*pCounter++ = new SfxStringItem(DSID_DOCUMENT_URL, OUString());
*pCounter++ = new SfxBoolItem(DSID_DOSLINEENDS, false);
*pCounter++ = new SfxStringItem(DSID_DATABASENAME, OUString());
- *pCounter++ = new SfxBoolItem(DSID_AS_BEFORE_CORRNAME, true);
+ *pCounter++ = new SfxBoolItem(DSID_AS_BEFORE_CORRNAME, false);
*pCounter++ = new SfxBoolItem(DSID_CHECK_REQUIRED_FIELDS, true);
*pCounter++ = new SfxBoolItem(DSID_IGNORECURRENCY, false);
*pCounter++ = new SfxStringItem(DSID_CONN_SOCKET, OUString());