[Libreoffice-commits] core.git: dbaccess/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Sat Sep 5 18:21:15 UTC 2020
dbaccess/source/ui/dlg/tablespage.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 125b3ab3478b615a2391bdbd208c0e3efca1a5d6
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Sat Sep 5 18:19:30 2020 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Sat Sep 5 20:20:38 2020 +0200
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 at redhat.com>
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;
More information about the Libreoffice-commits
mailing list