[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sd/source

Caolán McNamara caolanm at redhat.com
Wed Jun 18 03:13:20 PDT 2014


 sd/source/ui/view/Outliner.cxx |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

New commits:
commit e9ef07ed691399119b6bc5f1d2d79222667766c6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Jun 18 10:58:53 2014 +0100

    Resolves: fdo#80140 inverted spell-check continue logic
    
    regression from 57779aa0195d77239b339c6dbe17209b3f0cc4ee
    "editeng: sal_Bool->bool"
    
    Change-Id: I6042830f5ba1822b1ba59326895080f3375cd701
    (cherry picked from commit f53e88d14d182fb3af3787e8dac2126ac39551fa)

diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index d56f754..325f259 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
  */


More information about the Libreoffice-commits mailing list