summaryrefslogtreecommitdiff
path: root/lingucomponent/source
diff options
context:
space:
mode:
authorKevin Hendricks <khendricks@openoffice.org>2001-09-24 17:40:13 +0000
committerKevin Hendricks <khendricks@openoffice.org>2001-09-24 17:40:13 +0000
commitb79184544a2a1bb99817ef6ea9a0420ba87aacce (patch)
treef921ad443ad261b6332655fc2f644817aa4045c4 /lingucomponent/source
parentdb128d3449a155e4870f2003b6e66712a0948428 (diff)
fix to return a spell alternative object even when
no suggestions are found Kevin
Diffstat (limited to 'lingucomponent/source')
-rw-r--r--lingucomponent/source/spellcheck/spell/sspellimp.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
index 87fb931cd240..fef326c8b6a7 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sspellimp.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: khendricks $ $Date: 2001-09-10 23:56:32 $
+ * last change: $Author: khendricks $ $Date: 2001-09-24 18:40:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -331,7 +331,6 @@ Reference< XSpellAlternatives >
char ** suglst = NULL;
int count = pMS->suggest(&suglst, (const char *)OU2ISO_1(rWord));
- if (count){
Sequence< OUString > aStr( count );
OUString *pStr = aStr.getArray();
for (int i=0; i < count; i++)
@@ -351,7 +350,6 @@ Reference< XSpellAlternatives >
xRes = pAlt;
}
- }
}
return xRes;
}