diff options
author | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-09-29 21:01:46 +0200 |
---|---|---|
committer | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-10-07 15:57:36 +0200 |
commit | e45b962f49829d5c60c913383b2132b579af3fab (patch) | |
tree | a6c1a334ab7e2bfaca27d1463d1892b4ab7f59d1 /vcl/aqua | |
parent | 3cf7144e5149c571e9623a0ecb422ce475694790 (diff) |
cppcheck scope reduction in vcl/..salatsuifontutils.cxx
Diffstat (limited to 'vcl/aqua')
-rw-r--r-- | vcl/aqua/source/gdi/salatsuifontutils.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/aqua/source/gdi/salatsuifontutils.cxx b/vcl/aqua/source/gdi/salatsuifontutils.cxx index e124b3c0763d..d9d2c8ece6b4 100644 --- a/vcl/aqua/source/gdi/salatsuifontutils.cxx +++ b/vcl/aqua/source/gdi/salatsuifontutils.cxx @@ -237,7 +237,6 @@ static bool GetDevFontAttributes( ATSUFontID nFontID, ImplDevFontAttributes& rDF return false; int nBestNameValue = 0; int nBestStyleValue = 0; - FontLanguageCode eBestLangCode = 0; const FontLanguageCode eUILangCode = Application::GetSettings().GetUILanguage(); typedef std::vector<char> NameBuffer; NameBuffer aNameBuffer( 256 ); @@ -333,7 +332,7 @@ static bool GetDevFontAttributes( ATSUFontID nFontID, ImplDevFontAttributes& rDF { // get the best family name nBestNameValue = nNameValue; - eBestLangCode = eFontNameLanguage; + FontLanguageCode eBestLangCode = eFontNameLanguage; rDFA.maName = aUtf16Name; } break; |