summaryrefslogtreecommitdiff
path: root/svx/source/svdraw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-26 13:54:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-26 13:55:35 +0200
commit255c96178890f3dabb2b644a044b3f60e173cb09 (patch)
treef3d848051d79767a9fbd67074ba5ab0758374ab9 /svx/source/svdraw
parentcec3fd6de65a0f526c2b990e8dc54935d0a7864a (diff)
loplugin:stringconstant: handle OUString+=OUString(literal)
Change-Id: If1ad4df75f592c5f9bfedb490243526007fff35f
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r--svx/source/svdraw/svdotxat.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdotxat.cxx b/svx/source/svdraw/svdotxat.cxx
index 52e7150ac922..c1f9ce83574b 100644
--- a/svx/source/svdraw/svdotxat.cxx
+++ b/svx/source/svdraw/svdotxat.cxx
@@ -443,8 +443,7 @@ void SdrTextObj::AppendFamilyToStyleName(OUString& styleName, SfxStyleFamily fam
aFam.append(static_cast<sal_Int32>(family));
comphelper::string::padToLength(aFam, PADDING_LENGTH_FOR_STYLE_FAMILY , PADDING_CHARACTER_FOR_STYLE_FAMILY);
- styleName += OUString('|');
- styleName += aFam.makeStringAndClear();
+ styleName += "|" + aFam.makeStringAndClear();
}
SfxStyleFamily SdrTextObj::ReadFamilyFromStyleName(const OUString& styleName)