summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-21 11:37:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-21 11:39:20 +0100
commit8dc0573920a4a3c831704eb509ffc85ac39f6068 (patch)
tree1ac22275c1e68fc07d69a4ecce72d6d99e2d9363 /vcl
parenti18nutil: Add new enumeration values from ICU 52 (diff)
downloadcore-8dc0573920a4a3c831704eb509ffc85ac39f6068.tar.gz
core-8dc0573920a4a3c831704eb509ffc85ac39f6068.zip
Exempler->Exemplar
Change-Id: Id7e67d7e7bd4be6600a296a846512e9076c9df23
Diffstat (limited to 'vcl')
-rw-r--r--vcl/generic/fontmanager/fontconfig.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/generic/fontmanager/fontconfig.cxx b/vcl/generic/fontmanager/fontconfig.cxx
index 769826d14e32..e88745cbb007 100644
--- a/vcl/generic/fontmanager/fontconfig.cxx
+++ b/vcl/generic/fontmanager/fontconfig.cxx
@@ -900,11 +900,11 @@ namespace
return bIsImpossible;
}
- LanguageTag getExemplerLangTagForCodePoint(sal_uInt32 currentChar)
+ LanguageTag getExemplarLangTagForCodePoint(sal_uInt32 currentChar)
{
int32_t script = u_getIntPropertyValue(currentChar, UCHAR_SCRIPT);
UScriptCode eScript = static_cast<UScriptCode>(script);
- OStringBuffer aBuf(unicode::getExemplerLanguageForUScriptCode(eScript));
+ OStringBuffer aBuf(unicode::getExemplarLanguageForUScriptCode(eScript));
const char* pScriptCode = uscript_getShortName(eScript);
if (pScriptCode)
aBuf.append('-').append(pScriptCode);
@@ -1014,7 +1014,7 @@ bool PrintFontManager::Substitute( FontSelectPattern &rPattern, OUString& rMissi
//#i105784#/rhbz#527719 improve selection of fallback font
if (aLangAttrib.isEmpty())
{
- aLangTag = getExemplerLangTagForCodePoint(nCode);
+ aLangTag = getExemplarLangTagForCodePoint(nCode);
aLangAttrib = mapToFontConfigLangTag(aLangTag);
}
}
@@ -1144,7 +1144,7 @@ bool PrintFontManager::Substitute( FontSelectPattern &rPattern, OUString& rMissi
//scripts to default to a given language.
for (sal_Int32 i = 0; i < nRemainingLen; ++i)
{
- LanguageTag aOurTag = getExemplerLangTagForCodePoint(pRemainingCodes[i]);
+ LanguageTag aOurTag = getExemplarLangTagForCodePoint(pRemainingCodes[i]);
OString sTag = OUStringToOString(aOurTag.getBcp47(), RTL_TEXTENCODING_UTF8);
if (m_aPreviousLangSupportRequests.find(sTag) != m_aPreviousLangSupportRequests.end())
continue;