From cdbac696fb0cbb1d09645bc02799eed5504b192b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 10 Oct 2019 16:23:37 +0200 Subject: simplify "a = a +" to "a +=" mostly so that my stringadd loplugin can point out places to improve Change-Id: I9920ee1c99cdb6b811ba67ff9d8e32aa261884b5 Reviewed-on: https://gerrit.libreoffice.org/80618 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/source/ui/annotations/annotationmanager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd/source/ui/annotations') diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx index aa56364c8889..512415465307 100644 --- a/sd/source/ui/annotations/annotationmanager.cxx +++ b/sd/source/ui/annotations/annotationmanager.cxx @@ -155,7 +155,7 @@ OUString getAnnotationDateTimeString( const Reference< XAnnotation >& xAnnotatio ::tools::Time aTime( aDateTime ); if(aTime.GetTime() != 0) - sRet = sRet + " " + rLocalData.getTime( aTime,false ); + sRet += " " + rLocalData.getTime( aTime,false ); } return sRet; } -- cgit v1.2.3