diff options
Diffstat (limited to 'cui/source/options/dbregister.cxx')
-rw-r--r-- | cui/source/options/dbregister.cxx | 4 |
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 ) |