summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lingucomponent/source/spellcheck/spell/sspellimp.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
index 004d57ec8732..2d7aa3d2c8e9 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
@@ -447,7 +447,6 @@ Reference< XSpellAlternatives >
{
pMS = NULL;
eEnc = RTL_TEXTENCODING_DONTKNOW;
- int count = 0;
if (rLocale == aDLocs[i])
{
@@ -459,7 +458,7 @@ Reference< XSpellAlternatives >
{
char ** suglst = NULL;
OString aWrd(OU2ENC(nWord,eEnc));
- count = pMS->suggest(&suglst, (const char *) aWrd.getStr());
+ int count = pMS->suggest(&suglst, (const char *) aWrd.getStr());
if (count)
{