summaryrefslogtreecommitdiff
path: root/cui/source/options/dbregister.cxx
diff options
context:
space:
mode:
authornadith <nadmalinda@gmail.com>2016-08-01 14:51:58 +0530
committerNoel Grandin <noelgrandin@gmail.com>2016-08-04 09:34:11 +0000
commitbd4c80b856a145563ba38242705e87028b1e0ed6 (patch)
tree8a7ed5eefa17155b7c547ed9133dc1881d9fa6b4 /cui/source/options/dbregister.cxx
parent7cbb0664b94bb9f4587098c1940de98e4f7aae16 (diff)
tdf#100726: Improve readability of OUString concatenation
module cui and dbaccess fixed Change-Id: Ief6fca46622fe4e0da804c9a874f7ec93a0fd7af Reviewed-on: https://gerrit.libreoffice.org/27770 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cui/source/options/dbregister.cxx')
-rw-r--r--cui/source/options/dbregister.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/cui/source/options/dbregister.cxx b/cui/source/options/dbregister.cxx
index 14420b0083b2..a8cd6ea7b4b7 100644
--- a/cui/source/options/dbregister.cxx
+++ b/cui/source/options/dbregister.cxx
@@ -387,9 +387,7 @@ IMPL_LINK_NOARG_TYPED(DbRegistrationOptionsPage, PathSelect_Impl, SvTreeListBox*
void DbRegistrationOptionsPage::insertNewEntry( const OUString& _sName,const OUString& _sLocation, const bool _bReadOnly )
{
- OUString aStr( _sName );
- aStr += "\t";
- aStr += _sLocation;
+ OUString aStr = _sName + "\t" + _sLocation;
SvTreeListEntry* pEntry = nullptr;
if ( _bReadOnly )