diff options
Diffstat (limited to 'lingucomponent/source/thesaurus')
-rw-r--r-- | lingucomponent/source/thesaurus/libnth/nthesdta.cxx | 12 | ||||
-rw-r--r-- | lingucomponent/source/thesaurus/libnth/nthesdta.hxx | 7 | ||||
-rw-r--r-- | lingucomponent/source/thesaurus/libnth/nthesimp.cxx | 14 |
3 files changed, 0 insertions, 33 deletions
diff --git a/lingucomponent/source/thesaurus/libnth/nthesdta.cxx b/lingucomponent/source/thesaurus/libnth/nthesdta.cxx index 88503c0ebcdd..4468f2e12282 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesdta.cxx +++ b/lingucomponent/source/thesaurus/libnth/nthesdta.cxx @@ -39,12 +39,7 @@ namespace linguistic /////////////////////////////////////////////////////////////////////////// Meaning::Meaning( -#if 0 - const OUString &rTerm, sal_Int16 nLang, - const PropertyHelper_Thes &rHelper ) : -#else const OUString &rTerm, sal_Int16 nLang) : -#endif aSyn ( Sequence< OUString >(1) ), aTerm (rTerm), @@ -91,13 +86,6 @@ void Meaning::SetMeaning( const OUString &rTerm ) aTerm = rTerm; } -/////////////////////////////////////////////////////////////////////////// - } // namespace linguistic - - - - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/lingucomponent/source/thesaurus/libnth/nthesdta.hxx b/lingucomponent/source/thesaurus/libnth/nthesdta.hxx index ddc98bd876dc..7e5eb00b7002 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesdta.hxx +++ b/lingucomponent/source/thesaurus/libnth/nthesdta.hxx @@ -52,11 +52,7 @@ class Meaning : Meaning & operator = (const Meaning &); public: -#if 0 - Meaning(const ::rtl::OUString &rTerm, sal_Int16 nLang, const PropertyHelper_Thes &rHelper); -#else Meaning(const ::rtl::OUString &rTerm, sal_Int16 nLang); -#endif virtual ~Meaning(); // XMeaning @@ -68,9 +64,6 @@ public: void SetMeaning( const ::rtl::OUString &rTerm ); }; - -/////////////////////////////////////////////////////////////////////////// - } // namespace linguistic #endif diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx index 6867aa985c60..b5869c95991d 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx +++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx @@ -415,10 +415,6 @@ Sequence < Reference < ::com::sun::star::linguistic2::XMeaning > > SAL_CALL Thes codeTerm = seq[0]; stem2 = 1; } -#if 0 - OString o = OUStringToOString(codeTerm, RTL_TEXTENCODING_UTF8); - fprintf(stderr, "CODETERM: %s\n", o.pData->buffer); -#endif } } @@ -479,9 +475,6 @@ Sequence < Reference < ::com::sun::star::linguistic2::XMeaning > > SAL_CALL Thes OUString aAlt( cTerm + catst); pStr[i] = aAlt; } -#if 0 - Meaning * pMn = new Meaning(rTerm,nLanguage,rHelper); -#endif Meaning * pMn = new Meaning(rTerm,nLanguage); OUString dTerm(pe->defn,strlen(pe->defn),eEnc ); pMn->SetMeaning(dTerm); @@ -514,13 +507,6 @@ Sequence < Reference < ::com::sun::star::linguistic2::XMeaning > > SAL_CALL Thes if (xTmpRes.is()) { Sequence<OUString>seq = xTmpRes->getAlternatives(); -#if 0 - for (int i = 0; i < seq.getLength(); i++) - { - OString o = OUStringToOString(seq[i], RTL_TEXTENCODING_UTF8); - fprintf(stderr, "%d: %s\n", i + 1, o.pData->buffer); - } -#endif if (seq.getLength() > 0) { rTerm = seq[0]; // XXX Use only the first stem |