summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-05-28 10:53:03 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-10-22 13:08:53 +0200
commitf91c9e418f76cd254cabe7f6180f444a4e6ebb4c (patch)
treed948496802fbc38c50ce01afc178b1074bced8b0 /sd
parent978c83321ac9d5a66ecf2c82b4ade7b3c673b622 (diff)
Make use of IsStarSymbol()
Reviewed-on: https://gerrit.libreoffice.org/4077 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz> (cherry picked from commit 8079f40743f86c4f7e6c9af8393ff699378a0797) Conflicts: editeng/source/items/textitem.cxx sd/source/filter/eppt/pptx-text.cxx vcl/generic/glyphs/gcach_ftyp.cxx Change-Id: I7a2e3a6f11bbaaaff50e8163e4ce3e2583b1d03c
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/pptx-text.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx
index adadc4459aab..44614689fd2e 100644
--- a/sd/source/filter/eppt/pptx-text.cxx
+++ b/sd/source/filter/eppt/pptx-text.cxx
@@ -884,7 +884,7 @@ void ParagraphObj::ImplGetNumberingLevel( PPTExBulletProvider& rBuProv, sal_Int1
case SVX_NUM_CHAR_SPECIAL : // Bullet
{
- if ( aFontDesc.Name.equals("starsymbol") || aFontDesc.Name.equals("opensymbol") )
+ if ( IsStarSymbol(aFontDesc.Name) )
{
rtl_TextEncoding eChrSet = aFontDesc.CharSet;
cBulletId = msfilter::util::bestFitOpenSymbolToMSFont(cBulletId, eChrSet, aFontDesc.Name);