summaryrefslogtreecommitdiff
path: root/sd/source/ui/annotations
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-26 13:54:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-26 13:55:34 +0200
commit85c6b88e74b4a6f058cc55c2ed2772699211ce66 (patch)
treee4957456d012828bc6b7e483ba6e781db37d4542 /sd/source/ui/annotations
parentcf029c125d188c22b87590f1d58d3866f9ea796a (diff)
loplugin:stringconstant: handle OUString+=OUString(literal)
Change-Id: I0d1d7f598a0c61d36d72f9d51cccdcd1071c30b6
Diffstat (limited to 'sd/source/ui/annotations')
-rw-r--r--sd/source/ui/annotations/annotationtag.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/annotations/annotationtag.cxx b/sd/source/ui/annotations/annotationtag.cxx
index 530102903100..f5a75cfc32cc 100644
--- a/sd/source/ui/annotations/annotationtag.cxx
+++ b/sd/source/ui/annotations/annotationtag.cxx
@@ -517,9 +517,9 @@ BitmapEx AnnotationTag::CreateAnnotationBitmap( bool bSelected )
{
ScopedVclPtrInstance< VirtualDevice > pVDev;
- OUString sAuthor( getInitials( mxAnnotation->getAuthor() ) );
- sAuthor += OUString( ' ' );
- sAuthor += OUString::number( mnIndex );
+ OUString sAuthor(
+ getInitials(mxAnnotation->getAuthor()) + " "
+ + OUString::number(mnIndex));
pVDev->SetFont( mrFont );