summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/langsupport/langsupport.cxx2
-rw-r--r--svtools/source/misc/langtab.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/langsupport/langsupport.cxx b/svtools/langsupport/langsupport.cxx
index 226187a5d020..12269cada3d7 100644
--- a/svtools/langsupport/langsupport.cxx
+++ b/svtools/langsupport/langsupport.cxx
@@ -56,7 +56,7 @@ SAL_IMPLEMENT_MAIN()
continue;
}
- OUString sTag( LanguageTag( eLang).getBcp47());
+ OUString sTag( LanguageTag::convertToBcp47( eLang));
std::cout << OUStringToOString(sTag, osl_getThreadTextEncoding()).getStr()
<< std::endl;
diff --git a/svtools/source/misc/langtab.cxx b/svtools/source/misc/langtab.cxx
index b83443d2754e..4fcaa7399855 100644
--- a/svtools/source/misc/langtab.cxx
+++ b/svtools/source/misc/langtab.cxx
@@ -143,7 +143,7 @@ const OUString SvtLanguageTable::GetString( const LanguageType eType, bool bUser
return ResStringArray::GetString( nPos );
//Rather than return a fairly useless "Unknown" name, return a geeky but usable-in-a-pinch lang-tag
- OUString sLangTag(LanguageTag(eType).getBcp47());
+ OUString sLangTag(LanguageTag::convertToBcp47(eType));
SAL_WARN("svtools.misc", "Language: 0x"
<< std::hex << eType
<< " with unknown name, so returning lang-tag of: "