summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-30 15:09:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-01 08:26:37 +0200
commit4f2465f599020b356dc37f3132049a103dd32486 (patch)
treefdf04c1660b4dc1ae4268c86575a0eae33412845 /dbaccess/source/ui/browser
parenteaa2b432abcf31d11256e3dc01712c93367edf32 (diff)
loplugin:stringadd in dbaccess..desktop
Change-Id: I79966c4b5947c87658980b26bea1e0c2898f3343 Reviewed-on: https://gerrit.libreoffice.org/79887 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/browser')
-rw-r--r--dbaccess/source/ui/browser/unodatbr.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx
index e11f3dbd5969..652c9e68b801 100644
--- a/dbaccess/source/ui/browser/unodatbr.cxx
+++ b/dbaccess/source/ui/browser/unodatbr.cxx
@@ -3605,8 +3605,7 @@ OUString SbaTableQueryBrowser::getPrivateTitle() const
sTitle = aURL.getBase(INetURLObject::LAST_SEGMENT,true,INetURLObject::DecodeMechanism::WithCharset);
if ( !sName.isEmpty() )
{
- sName += " - ";
- sName += sTitle;
+ sName += " - " + sTitle;
sTitle = sName;
}
}