diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-20 10:46:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-20 11:01:54 +0100 |
commit | 4333c4a8548209c8b56e048cd6b75d2626b765de (patch) | |
tree | 8346b2aecd780ef5e25d69f4b4e3159554a53b9d /linguistic/inc | |
parent | 9aa1b2d05848b4598cbf49da9f7f2bd509ace88e (diff) |
drop unused BS2OU/OU2BS
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 055016e60f75..bff3d3b6ef36 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 ); |