diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-18 10:58:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-18 11:12:51 +0100 |
commit | e9ef07ed691399119b6bc5f1d2d79222667766c6 (patch) | |
tree | 25b7e692ad9f5038bb0a406c871bbeefd713a2f4 | |
parent | 98986a5167438808871e8094dbf815c72282ca0b (diff) |
Resolves: fdo#80140 inverted spell-check continue logic
regression from 57779aa0195d77239b339c6dbe17209b3f0cc4ee
"editeng: sal_Bool->bool"
Change-Id: I6042830f5ba1822b1ba59326895080f3375cd701
(cherry picked from commit f53e88d14d182fb3af3787e8dac2126ac39551fa)
-rw-r--r-- | sd/source/ui/view/Outliner.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index d56f754a140e..325f259e7d68 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 */ |