diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-07-21 18:51:11 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-07-21 18:51:11 +0200 |
commit | 200bc6c582d6cf2365001f27928c1e3d1f9c9845 (patch) | |
tree | 0f27abe75bc3603341aef715372676aee8d86835 /linguistic/inc | |
parent | 01ea92166c12fe080575f8faba4162779fb46c28 (diff) | |
parent | 1b465fcc0f5f699308c6ee5113dde6b82842c3dd (diff) |
resyncing to master
Diffstat (limited to 'linguistic/inc')
-rw-r--r-- | linguistic/inc/linguistic/misc.hxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/linguistic/inc/linguistic/misc.hxx b/linguistic/inc/linguistic/misc.hxx index 4061701c1f66..7699735c971e 100644 --- a/linguistic/inc/linguistic/misc.hxx +++ b/linguistic/inc/linguistic/misc.hxx @@ -101,16 +101,6 @@ LocaleDataWrapper & GetLocaleDataWrapper( sal_Int16 nLang ); rtl_TextEncoding GetTextEncoding( sal_Int16 nLanguage ); -inline ::rtl::OUString BS2OU(const ByteString &rText, rtl_TextEncoding nEnc) -{ - return ::rtl::OUString( rText.GetBuffer(), rText.Len(), nEnc ); -} - -inline ByteString OU2BS(const ::rtl::OUString &rText, rtl_TextEncoding nEnc) -{ - return ByteString( rText.getStr(), nEnc ); -} - rtl::OUString StripTrailingChars( rtl::OUString &rTxt, sal_Unicode cChar ); sal_Int32 LevDistance( const rtl::OUString &rTxt1, const rtl::OUString &rTxt2 ); |