summaryrefslogtreecommitdiff
path: root/vcl/coretext
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-08-27 18:17:09 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2013-08-27 18:20:44 +0200
commitc2f6428e32227c6f53e618c65a7df3648487df49 (patch)
tree6d0afcc897c8cdd59728ea6a5f9118b12d5d538f /vcl/coretext
parentb0b087cd1881142c09a77620312d653965a0d873 (diff)
Minor
Change-Id: I8a0c09087e522cbd8ee6a25b71541514e562a618
Diffstat (limited to 'vcl/coretext')
-rw-r--r--vcl/coretext/salgdi2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/coretext/salgdi2.cxx b/vcl/coretext/salgdi2.cxx
index d69c26d66278..819d9f9d4693 100644
--- a/vcl/coretext/salgdi2.cxx
+++ b/vcl/coretext/salgdi2.cxx
@@ -354,11 +354,11 @@ static bool AddTempDevFont(const OUString& rFontFileURL)
OSL_VERIFY( !osl::FileBase::getSystemPathFromFileURL( rFontFileURL, aUSytemPath ) );
OString aCFileName = OUStringToOString( aUSytemPath, RTL_TEXTENCODING_UTF8 );
- CFStringRef rDir = CFStringCreateWithCString(NULL, aCFileName.getStr(), kCFStringEncodingUTF8);
- CFURLRef rDirURL = CFURLCreateWithFileSystemPath(NULL, rDir, kCFURLPOSIXPathStyle, true);
+ CFStringRef rFontPath = CFStringCreateWithCString(NULL, aCFileName.getStr(), kCFStringEncodingUTF8);
+ CFURLRef rFontURL = CFURLCreateWithFileSystemPath(NULL, rFontPath, kCFURLPOSIXPathStyle, true);
CFErrorRef error;
- bool success = CTFontManagerRegisterFontsForURL(rDirURL, kCTFontManagerScopeProcess, &error);
+ bool success = CTFontManagerRegisterFontsForURL(rFontURL, kCTFontManagerScopeProcess, &error);
if (!success)
{