i18nutil/source/utility/unicode.cxx | 2 +- include/i18nutil/unicode.hxx | 2 +- vcl/generic/fontmanager/fontconfig.cxx | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-)
New commits: commit 8dc0573920a4a3c831704eb509ffc85ac39f6068 Author: Caolán McNamara <caol...@redhat.com> Date: Mon Oct 21 11:37:19 2013 +0100 Exempler->Exemplar Change-Id: Id7e67d7e7bd4be6600a296a846512e9076c9df23 diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx index 872efc4..59a1e1a 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 77b7681..e14cc8c 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 769826d..e88745c 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;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits