[Libreoffice-commits] .: oox/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 19 03:30:35 PST 2012
oox/source/export/drawingml.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1385f3736c0b80b7c31c03c457808db2ca4725d9
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Wed Dec 19 12:29:45 2012 +0100
fix last commit
operator== is case-sensitive
Change-Id: I9b0a99ffdd53780ab14d569b3fac17a7983d5b96
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index fa5f226..781feba 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1451,7 +1451,7 @@ void DrawingML::WriteConnectorConnections( EscherConnectorListEntry& rConnectorE
sal_Unicode DrawingML::SubstituteBullet( sal_Unicode cBulletId, ::com::sun::star::awt::FontDescriptor& rFontDesc )
{
- if ( rFontDesc.Name == "starsymbol" || rFontDesc.Name == "opensymbol" )
+ if ( rFontDesc.Name.equalsIgnoreAsciiCase("starsymbol") || rFontDesc.Name.equalsIgnoreAsciiCase("opensymbol") )
{
rtl_TextEncoding eCharSet = rFontDesc.CharSet;
cBulletId = msfilter::util::bestFitOpenSymbolToMSFont(cBulletId, eCharSet, rFontDesc.Name);
More information about the Libreoffice-commits
mailing list