[Libreoffice-commits] core.git: vcl/quartz

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sat Sep 26 09:36:19 UTC 2020


 vcl/quartz/salgdi.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 7ed86a2d4244e7417b8a3c944bad32865aaa3a25
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Sep 25 12:28:52 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Sep 26 11:35:34 2020 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: I5e2b4f37296b521b5e942a8e9f9caf2137e39172
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103456
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx
index 1501043924b6..a0bb509dc2b6 100644
--- a/vcl/quartz/salgdi.cxx
+++ b/vcl/quartz/salgdi.cxx
@@ -272,9 +272,9 @@ void AquaSalGraphics::GetFontMetric(ImplFontMetricDataRef& rxFontMetric, int nFa
 
 static bool AddTempDevFont(const OUString& rFontFileURL)
 {
-    OUString aUSytemPath;
-    OSL_VERIFY( !osl::FileBase::getSystemPathFromFileURL( rFontFileURL, aUSytemPath ) );
-    OString aCFileName = OUStringToOString( aUSytemPath, RTL_TEXTENCODING_UTF8 );
+    OUString aUSystemPath;
+    OSL_VERIFY( !osl::FileBase::getSystemPathFromFileURL( rFontFileURL, aUSystemPath ) );
+    OString aCFileName = OUStringToOString( aUSystemPath, RTL_TEXTENCODING_UTF8 );
 
     CFStringRef rFontPath = CFStringCreateWithCString(nullptr, aCFileName.getStr(), kCFStringEncodingUTF8);
     CFURLRef rFontURL = CFURLCreateWithFileSystemPath(nullptr, rFontPath, kCFURLPOSIXPathStyle, true);


More information about the Libreoffice-commits mailing list