diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-03 10:47:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-03 10:47:36 +0100 |
commit | 4c3f33d8d54756d3988c4d4c848712b31027f919 (patch) | |
tree | c4b3f6e3420bc989fcd8a1bf13a9c20738349cd1 /linguistic/inc | |
parent | c8eede4ee31e5000a782769ec311dc5f68532382 (diff) |
callcatcher: remove unused methods
Diffstat (limited to 'linguistic/inc')
-rw-r--r-- | linguistic/inc/linguistic/misc.hxx | 15 | ||||
-rw-r--r-- | linguistic/inc/linguistic/spelldta.hxx | 10 |
2 files changed, 1 insertions, 24 deletions
diff --git a/linguistic/inc/linguistic/misc.hxx b/linguistic/inc/linguistic/misc.hxx index 7699735c971e..da2415948b02 100644 --- a/linguistic/inc/linguistic/misc.hxx +++ b/linguistic/inc/linguistic/misc.hxx @@ -80,7 +80,7 @@ namespace linguistic #define A2OU(x) ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( x )) /// Flags to be used with the multi-path related functions -/// @see GetDictionaryPaths, GetLinguisticPaths +/// @see GetDictionaryPaths #define PATH_FLAG_INTERNAL 0x01 #define PATH_FLAG_USER 0x02 #define PATH_FLAG_WRITABLE 0x04 @@ -99,10 +99,6 @@ LNG_DLLPUBLIC ::osl::Mutex& GetLinguMutex(); LocaleDataWrapper & GetLocaleDataWrapper( sal_Int16 nLang ); -rtl_TextEncoding GetTextEncoding( sal_Int16 nLanguage ); - -rtl::OUString StripTrailingChars( rtl::OUString &rTxt, sal_Unicode cChar ); - sal_Int32 LevDistance( const rtl::OUString &rTxt1, const rtl::OUString &rTxt2 ); ::com::sun::star::lang::Locale @@ -114,9 +110,6 @@ LNG_DLLPUBLIC LanguageType ::com::sun::star::lang::Locale& LanguageToLocale( ::com::sun::star::lang::Locale& rLocale, LanguageType eLang ); -::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale > - LangSeqToLocaleSeq( const ::com::sun::star::uno::Sequence< sal_Int16 > &rLangSeq ); - ::com::sun::star::uno::Sequence< sal_Int16 > LocaleSeqToLangSeq( ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale > &rLocaleSeq ); @@ -131,17 +124,11 @@ sal_Bool FileExists( const String &rURL ); ::rtl::OUString GetDictionaryWriteablePath(); ::com::sun::star::uno::Sequence< ::rtl::OUString > GetDictionaryPaths( sal_Int16 nPathFlags = PATH_FLAG_ALL ); -::com::sun::star::uno::Sequence< ::rtl::OUString > GetLinguisticPaths( sal_Int16 nPathFlags = PATH_FLAG_ALL ); /// @returns an URL for a new and writable dictionary rDicName. /// The URL will point to the path given by 'GetDictionaryWriteablePath' LNG_DLLPUBLIC String GetWritableDictionaryURL( const String &rDicName ); -// looks for the specified file in the list of paths. -// In case of multiple occurrences only the first found is returned. -String SearchFileInPaths( const String &rFile, const ::com::sun::star::uno::Sequence< ::rtl::OUString > &rPaths ); - - LNG_DLLPUBLIC sal_Int32 GetPosInWordToCheck( const rtl::OUString &rTxt, sal_Int32 nPos ); ::com::sun::star::uno::Reference< diff --git a/linguistic/inc/linguistic/spelldta.hxx b/linguistic/inc/linguistic/spelldta.hxx index 81ff61791b30..afc8fab96564 100644 --- a/linguistic/inc/linguistic/spelldta.hxx +++ b/linguistic/inc/linguistic/spelldta.hxx @@ -49,16 +49,6 @@ namespace com { namespace sun { namespace star { namespace linguistic { -/////////////////////////////////////////////////////////////////////////// - -::com::sun::star::uno::Reference< - ::com::sun::star::linguistic2::XSpellAlternatives > - MergeProposals( - ::com::sun::star::uno::Reference< - ::com::sun::star::linguistic2::XSpellAlternatives > &rxAlt1, - ::com::sun::star::uno::Reference< - ::com::sun::star::linguistic2::XSpellAlternatives > &rxAlt2 ); - ::com::sun::star::uno::Sequence< ::rtl::OUString > MergeProposalSeqs( ::com::sun::star::uno::Sequence< ::rtl::OUString > &rAlt1, |