summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-05-23 19:49:08 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-05-27 15:42:33 +0000
commita0f85534a71e5b04a8ca21c12ab3f04335f34344 (patch)
treeb5fb71954370d18ff57616f8d71c5e5b9ce81940 /oox
parent34c2e8845804921c027ed66884fdf7c31f75fd87 (diff)
be case-insensitive for open/starsymbol comparison
Change-Id: I7a342c809a723f5f9c03271c6145d9c367cea6de Reviewed-on: https://gerrit.libreoffice.org/4015 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/drawingml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 6f28d9286066..6d73d3d3f3b8 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1077,7 +1077,7 @@ void DrawingML::WriteParagraphNumbering( Reference< XPropertySet > rXPropSet, sa
// instead of a Unicode encoding the encoding RTL_TEXTENCODING_SYMBOL was used.
// Because there might exist a lot of damaged documemts I added this two lines
// which fixes the bullet problem for the export.
- if ( aFontDesc.Name == "StarSymbol" )
+ if ( aFontDesc.Name.equalsIgnoreAsciiCase("StarSymbol") )
aFontDesc.CharSet = RTL_TEXTENCODING_MS_1252;
} else if ( aPropName == "BulletRelSize" ) {