summaryrefslogtreecommitdiff
path: root/svtools/source/brwbox/datwin.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-01 18:22:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-02 08:01:19 +0200
commitfe3d9961e32fd7230e21716793adaddffdf2463e (patch)
tree05511ede00f3b15842b4f1c0f3d9e90efc79ff92 /svtools/source/brwbox/datwin.cxx
parent5da08d7b14b03459070228bad1b42dc5d1746b9f (diff)
loplugin:stringadd in svtools
Change-Id: Ic085990173051f421d1ffc7914574cb63a7ae21d Reviewed-on: https://gerrit.libreoffice.org/79982 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/brwbox/datwin.cxx')
-rw-r--r--svtools/source/brwbox/datwin.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx
index 33ba6eaf1d5c..c40b9142892c 100644
--- a/svtools/source/brwbox/datwin.cxx
+++ b/svtools/source/brwbox/datwin.cxx
@@ -667,8 +667,7 @@ void BrowserScrollBar::Tracking( const TrackingEvent& rTEvt )
sal_uLong nPos = GetThumbPos();
if ( nPos != _nLastPos )
{
- OUString aTip( OUString::number(nPos) );
- aTip += "/";
+ OUString aTip = OUString::number(nPos) + "/";
if ( !_pDataWin->GetRealRowCount().isEmpty() )
aTip += _pDataWin->GetRealRowCount();
else