summaryrefslogtreecommitdiff
path: root/oox/source/drawingml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-19 11:32:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-19 11:32:20 +0100
commit4c0c23af21db0b72541674c2352df04f48774e81 (patch)
treefe5697fbc7f793de73531e50711c5b39d9825923 /oox/source/drawingml
parent8f2cf65ec9a450441b92ed1f638eda26231a9be7 (diff)
Simplify equalsIgnoreAsciiCaseAscii[L] calls
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
Diffstat (limited to 'oox/source/drawingml')
-rw-r--r--oox/source/drawingml/textparagraphproperties.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/oox/source/drawingml/textparagraphproperties.cxx b/oox/source/drawingml/textparagraphproperties.cxx
index c4a88b384842..b39ffb6d0b4f 100644
--- a/oox/source/drawingml/textparagraphproperties.cxx
+++ b/oox/source/drawingml/textparagraphproperties.cxx
@@ -308,15 +308,15 @@ void BulletList::pushToPropMap( const ::oox::core::XmlFilterBase* pFilterBase, P
aFontDesc.Name = aBulletFontName;
aFontDesc.Pitch = nBulletFontPitch;
aFontDesc.Family = nBulletFontFamily;
- if ( aBulletFontName.equalsIgnoreAsciiCaseAscii("Wingdings") ||
- aBulletFontName.equalsIgnoreAsciiCaseAscii("Wingdings 2") ||
- aBulletFontName.equalsIgnoreAsciiCaseAscii("Wingdings 3") ||
- aBulletFontName.equalsIgnoreAsciiCaseAscii("Monotype Sorts") ||
- aBulletFontName.equalsIgnoreAsciiCaseAscii("Monotype Sorts 2") ||
- aBulletFontName.equalsIgnoreAsciiCaseAscii("Webdings") ||
- aBulletFontName.equalsIgnoreAsciiCaseAscii("StarBats") ||
- aBulletFontName.equalsIgnoreAsciiCaseAscii("StarMath") ||
- aBulletFontName.equalsIgnoreAsciiCaseAscii("ZapfDingbats") ) {
+ if ( aBulletFontName.equalsIgnoreAsciiCase("Wingdings") ||
+ aBulletFontName.equalsIgnoreAsciiCase("Wingdings 2") ||
+ aBulletFontName.equalsIgnoreAsciiCase("Wingdings 3") ||
+ aBulletFontName.equalsIgnoreAsciiCase("Monotype Sorts") ||
+ aBulletFontName.equalsIgnoreAsciiCase("Monotype Sorts 2") ||
+ aBulletFontName.equalsIgnoreAsciiCase("Webdings") ||
+ aBulletFontName.equalsIgnoreAsciiCase("StarBats") ||
+ aBulletFontName.equalsIgnoreAsciiCase("StarMath") ||
+ aBulletFontName.equalsIgnoreAsciiCase("ZapfDingbats") ) {
aFontDesc.CharSet = RTL_TEXTENCODING_SYMBOL;
bSymbolFont = sal_True;
}