diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-09-05 18:19:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-09-05 20:20:38 +0200 |
commit | 125b3ab3478b615a2391bdbd208c0e3efca1a5d6 (patch) | |
tree | fba00a68398330edfae1084c193e9726be156ccf /dbaccess/source/ui/dlg/tablespage.cxx | |
parent | 573f472c6d282c69d16d4ed985c7433c75876745 (diff) |
Drop some seemingly redundant OUString(OUString::getStr()) construction
...assuming it was not chosen deliberately to cut of the input string at a
potential embedded NUL (or for whatever other arcane reason).
(This change is a prerequisite for making the OUString ctor taking a raw pointer
explicit.)
Change-Id: I74411e590cedc4394a240435a837a406dc18cfb7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102079
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess/source/ui/dlg/tablespage.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/tablespage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/dlg/tablespage.cxx b/dbaccess/source/ui/dlg/tablespage.cxx index 36d9fb8cbce2..180d84eacdd4 100644 --- a/dbaccess/source/ui/dlg/tablespage.cxx +++ b/dbaccess/source/ui/dlg/tablespage.cxx @@ -105,7 +105,7 @@ namespace dbaui for (const OUString& rIncludeTable : _rTables) { if (xMeta.is()) - qualifiedNameComponents(xMeta, rIncludeTable.getStr(), sCatalog, sSchema, sName,::dbtools::EComposeRule::InDataManipulation); + qualifiedNameComponents(xMeta, rIncludeTable, sCatalog, sSchema, sName,::dbtools::EComposeRule::InDataManipulation); else sName = rIncludeTable; |