diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2012-10-08 20:02:03 -0300 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-10-17 09:32:47 +0200 |
commit | 625e91c75fe66d4e067213a561f19e626cfbfa93 (patch) | |
tree | 71c7501def89baf911d52e823bb5a8f42d34a668 /lingucomponent/source/thesaurus/libnth/nthesimp.cxx | |
parent | f163a827ff7324178214ce3178eb8928a0dac102 (diff) |
More useless code, "#if 0" blocks in lingucomponent, sal, and rsc
Change-Id: I1dda0f2b3bc2bb4a4a877c160026e53a90471d54
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Diffstat (limited to 'lingucomponent/source/thesaurus/libnth/nthesimp.cxx')
-rw-r--r-- | lingucomponent/source/thesaurus/libnth/nthesimp.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
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 |