summaryrefslogtreecommitdiff
path: root/editeng/source/editeng/edtspell.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-08-27 11:43:23 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-08-28 08:56:58 -0400
commit9ef052368842f9e5b56b9d47329a81da8e8e2da1 (patch)
tree373103637ea7c1fb5fa6022d89444e5a404531b7 /editeng/source/editeng/edtspell.cxx
parent36b81ce89e4eddbc721afa3cd59905ea45249800 (diff)
bClearRange is always true. Remove it.
Change-Id: I1df4bdaa5f13ede9e04972a02948eb072dca2bec
Diffstat (limited to 'editeng/source/editeng/edtspell.cxx')
-rw-r--r--editeng/source/editeng/edtspell.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/editeng/source/editeng/edtspell.cxx b/editeng/source/editeng/edtspell.cxx
index 37b1bf6f862b..0ef6d039557f 100644
--- a/editeng/source/editeng/edtspell.cxx
+++ b/editeng/source/editeng/edtspell.cxx
@@ -441,8 +441,7 @@ void WrongList::ClearWrongs( sal_uInt16 nStart, sal_uInt16 nEnd,
SAL_WARN_IF(DbgIsBuggy(), "editeng", "ClearWrongs: WrongList broken!");
}
-void WrongList::InsertWrong( sal_uInt16 nStart, sal_uInt16 nEnd,
- sal_Bool bClearRange )
+void WrongList::InsertWrong( sal_uInt16 nStart, sal_uInt16 nEnd )
{
WrongList::iterator nPos = end();
for (WrongList::iterator i = begin(); i != end(); ++i)
@@ -450,7 +449,6 @@ void WrongList::InsertWrong( sal_uInt16 nStart, sal_uInt16 nEnd,
if (i->nStart >= nStart )
{
nPos = i;
- if ( bClearRange )
{
// It can really only happen that the Wrong starts exactly here
// and runs along, but not that there are several ranges ...