[Libreoffice-commits] core.git: filter/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 3 08:31:35 UTC 2020
filter/source/graphicfilter/ios2met/ios2met.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f2b1285a4ec7d5cfd9131921b644d66ae00e095f
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Sep 3 08:13:47 2020 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Sep 3 10:31:00 2020 +0200
Replace a "compareToIgnoreAsciiCase == 0" with "equalsIgnoreAsciiCase"
Change-Id: I9bf0e51461ed75fd89bd7b23a8a11df8458dfe15
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101986
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/filter/source/graphicfilter/ios2met/ios2met.cxx b/filter/source/graphicfilter/ios2met/ios2met.cxx
index 85e8b269423d..54f56f932f53 100644
--- a/filter/source/graphicfilter/ios2met/ios2met.cxx
+++ b/filter/source/graphicfilter/ios2met/ios2met.cxx
@@ -2362,7 +2362,7 @@ void OS2METReader::ReadFont(sal_uInt16 nFieldSize)
pOS2MET->ReadBytes( &str, 32 );
str[ 32 ] = 0;
OUString aStr( str, strlen(str), osl_getThreadTextEncoding() );
- if ( aStr.compareToIgnoreAsciiCase( "Helv" ) == 0 )
+ if ( aStr.equalsIgnoreAsciiCase( "Helv" ) )
aStr = "Helvetica";
pF->aFont.SetFamilyName( aStr );
break;
More information about the Libreoffice-commits
mailing list