summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-18 10:58:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-18 11:12:11 +0100
commitf53e88d14d182fb3af3787e8dac2126ac39551fa (patch)
tree3d55b48e3d5acd96445d8222fc9263178fb67b37
parentffa9a802ead3ba0c0b958d604037c7f29c806c95 (diff)
Resolves: fdo#80140 inverted spell-check continue logic
regression from 57779aa0195d77239b339c6dbe17209b3f0cc4ee "editeng: sal_Bool->bool" Change-Id: I6042830f5ba1822b1ba59326895080f3375cd701
-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
*/