summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-25 10:44:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-25 12:33:21 +0000
commit1cc0bdd037f75eb0294c81b31ac32509577b80e2 (patch)
treec4a4e4b510527f12948abe710df95267a90bcae3 /lingucomponent
parent6137b5f72f5ec491ea6bd6631a65484fa24d2973 (diff)
coverity#735439 Logically dead code
Change-Id: Id475c10effc81386a08337128be270f715daef52
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesimp.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
index b0b99724cf69..300d0f38c0cf 100644
--- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
+++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
@@ -404,7 +404,6 @@ Sequence < Reference < ::com::sun::star::linguistic2::XMeaning > > SAL_CALL Thes
{
OUString sTerm(pe->psyns[i],strlen(pe->psyns[i]),eEnc );
sal_Int32 catpos = sTerm.indexOf('(');
- sal_Int32 catpos2 = 0;
OUString catst;
OUString catst2;
if (catpos > 2)
@@ -427,8 +426,6 @@ Sequence < Reference < ::com::sun::star::linguistic2::XMeaning > > SAL_CALL Thes
sTerm = seq[0];
}
}
- if (catpos2)
- sTerm = catst2 + sTerm;
sal_uInt16 ct1 = capitalType(sTerm, pCC);
if (CAPTYPE_MIXED == ct1)