summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/view/Outliner.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index a576cf871483..f7149a46c208 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -370,10 +370,7 @@ void Outliner::EndSpelling (void)
mnStartPageIndex = (sal_uInt16) -1;
}
-
-
-
-bool Outliner::SpellNextDocument (void)
+bool Outliner::SpellNextDocument()
{
::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock());
if (pViewShell->ISA(OutlineViewShell))
@@ -401,11 +398,9 @@ bool Outliner::SpellNextDocument (void)
ClearModifyFlag();
}
- return mbEndOfSearch;
-
+ return !mbEndOfSearch;
}
-
/**
* check next text object
*/