summaryrefslogtreecommitdiff
path: root/sd/source/console/PresenterToolBar.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-30 10:15:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-30 11:38:07 +0000
commitf24d38de3c23479e79768cd3fcfe37692cee27e4 (patch)
tree2a7804fa21648bb9cfabab827f8e65432ef358c9 /sd/source/console/PresenterToolBar.cxx
parentdb9912d824c1d621fdc409b9cdd6c79caefe1327 (diff)
loplugin:stringadd in sd/sdext
when applying my upcoming patch to also consider O[U]StringBuffer Change-Id: Ic95e72e1c857c6814d6e25b9820494cdfa535465 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149746 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/console/PresenterToolBar.cxx')
-rw-r--r--sd/source/console/PresenterToolBar.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/console/PresenterToolBar.cxx b/sd/source/console/PresenterToolBar.cxx
index e05b0d44194b..5e7c770df208 100644
--- a/sd/source/console/PresenterToolBar.cxx
+++ b/sd/source/console/PresenterToolBar.cxx
@@ -1698,9 +1698,7 @@ OUString TimeFormatter::FormatTime (const oslDateTime& rTime)
const sal_Int32 nMinutes (sal::static_int_cast<sal_Int32>(rTime.Minutes));
const sal_Int32 nSeconds(sal::static_int_cast<sal_Int32>(rTime.Seconds));
// Hours
- sText.append(nHours);
-
- sText.append(":");
+ sText.append(OUString::number(nHours) + ":");
// Minutes
const OUString sMinutes (OUString::number(nMinutes));