summaryrefslogtreecommitdiff
path: root/starmath/source/utility.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/utility.cxx')
-rw-r--r--starmath/source/utility.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/starmath/source/utility.cxx b/starmath/source/utility.cxx
index 5c957899092e..4a9225f6b363 100644
--- a/starmath/source/utility.cxx
+++ b/starmath/source/utility.cxx
@@ -82,13 +82,11 @@ OUString lcl_GetStringItem(const vcl::Font &rFont)
if (IsItalic( rFont ))
{
- aString.append(", ");
- aString.append(SmResId(RID_FONTITALIC));
+ aString.append(", " + SmResId(RID_FONTITALIC));
}
if (IsBold( rFont ))
{
- aString.append(", ");
- aString.append(SmResId(RID_FONTBOLD));
+ aString.append(", " + SmResId(RID_FONTBOLD));
}
return aString.makeStringAndClear();