diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-24 15:37:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-24 17:07:50 +0200 |
commit | aaff73401318a7fd1b3e936555f933538b2407bc (patch) | |
tree | babbb7551d25d6450c93ea94175aa1cc19ad6f73 /dbaccess | |
parent | 0648aba5740a9ab62a98695a493ea9d1edbc7207 (diff) |
This probably wants to generate a "1".."10" string representation
...instead of picking the OString(char) overload. (Was introduced with
f62efe43a25770b8bcbe9b7bc681284b9a006ea0 "weld ODbAdminDialog".)
Change-Id: Ia5225bbc16aedc71aea74ce1d004b29696f46f94
Reviewed-on: https://gerrit.libreoffice.org/81455
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/dbadmin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/dlg/dbadmin.cxx b/dbaccess/source/ui/dlg/dbadmin.cxx index 5eccd1a29bf7..80f319baa79c 100644 --- a/dbaccess/source/ui/dlg/dbadmin.cxx +++ b/dbaccess/source/ui/dlg/dbadmin.cxx @@ -143,7 +143,7 @@ void ODbAdminDialog::impl_selectDataSource(const css::uno::Any& _aDataSourceName case ::dbaccess::DST_USERDEFINE10: { OUString aTitle(DBA_RES(STR_PAGETITLE_ADVANCED)); - AddTabPage("user" + OString(static_cast<int>(eType)), aTitle, ODriversSettings::CreateUser); + AddTabPage("user" + OString::number(eType - dbaccess::DST_USERDEFINE1 + 1), aTitle, ODriversSettings::CreateUser); } break; default: |