diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-21 11:37:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-21 11:39:20 +0100 |
commit | 8dc0573920a4a3c831704eb509ffc85ac39f6068 (patch) | |
tree | 1ac22275c1e68fc07d69a4ecce72d6d99e2d9363 | |
parent | 0c6a5d99ff82e4420f9f1c68152f89b7b5511517 (diff) |
Exempler->Exemplar
Change-Id: Id7e67d7e7bd4be6600a296a846512e9076c9df23
-rw-r--r-- | i18nutil/source/utility/unicode.cxx | 2 | ||||
-rw-r--r-- | include/i18nutil/unicode.hxx | 2 | ||||
-rw-r--r-- | vcl/generic/fontmanager/fontconfig.cxx | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx index 872efc47a652..59a1e1aafdc9 100644 --- a/i18nutil/source/utility/unicode.cxx +++ b/i18nutil/source/utility/unicode.cxx @@ -446,7 +446,7 @@ sal_Int16 SAL_CALL unicode::getScriptClassFromUScriptCode(UScriptCode eScript) return nRet; } -OString SAL_CALL unicode::getExemplerLanguageForUScriptCode(UScriptCode eScript) +OString SAL_CALL unicode::getExemplarLanguageForUScriptCode(UScriptCode eScript) { OString sRet; switch (eScript) diff --git a/include/i18nutil/unicode.hxx b/include/i18nutil/unicode.hxx index 77b768103270..e14cc8c02280 100644 --- a/include/i18nutil/unicode.hxx +++ b/include/i18nutil/unicode.hxx @@ -53,7 +53,7 @@ public: static sal_Int16 SAL_CALL getScriptClassFromUScriptCode(UScriptCode eScript); //Return a language that can be written in a given ISO 15924 script code - static OString SAL_CALL getExemplerLanguageForUScriptCode(UScriptCode eScript); + static OString SAL_CALL getExemplarLanguageForUScriptCode(UScriptCode eScript); }; #endif 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; |