From 46f61ee3997c4c6e1a1dca8b2986f31f0e4a6167 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Thu, 23 May 2013 19:49:08 +0200 Subject: be case-insensitive for open/starsymbol comparison MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-on: https://gerrit.libreoffice.org/4015 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara Signed-off-by: Luboš Luňák Conflicts: unotools/source/misc/fontcvt.cxx unotools/source/misc/fontdefs.cxx vcl/generic/glyphs/gcach_ftyp.cxx Change-Id: I7a342c809a723f5f9c03271c6145d9c367cea6de --- oox/source/export/drawingml.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oox') diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index d68ff6b91d28..082a1e7574aa 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -1054,7 +1054,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" ) { -- cgit