[Libreoffice-commits] core.git: sw/source

Stephan Bergmann sbergman at redhat.com
Mon Oct 19 23:42:42 PDT 2015


 sw/source/uibase/inc/wrtsh.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 61358e8efb2989e1e7d338eaee700ec6d2a1e017
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Oct 20 08:40:47 2015 +0200

    Up/Down's bSelect param cannot be defaulted anyway
    
    ...because SwWrtShell inherits SwCrsrShell::Up/Down, which already default their
    first param.
    
    Change-Id: I62fa00c3e1e679dcb2e5bbd50f34cb9a6926b7b8

diff --git a/sw/source/uibase/inc/wrtsh.hxx b/sw/source/uibase/inc/wrtsh.hxx
index 4211527..b640061 100644
--- a/sw/source/uibase/inc/wrtsh.hxx
+++ b/sw/source/uibase/inc/wrtsh.hxx
@@ -191,8 +191,8 @@ typedef bool (SwWrtShell:: *FNSimpleMove)();
                             sal_uInt16 nCount, bool bBasicCall, bool bVisual = false );
     bool Right      ( sal_uInt16 nMode, bool bSelect,
                             sal_uInt16 nCount, bool bBasicCall, bool bVisual = false );
-    bool Up         ( bool bSelect = false, sal_uInt16 nCount = 1, bool bBasicCall = false );
-    bool Down       ( bool bSelect = false, sal_uInt16 nCount = 1, bool bBasicCall = false );
+    bool Up         ( bool bSelect, sal_uInt16 nCount = 1, bool bBasicCall = false );
+    bool Down       ( bool bSelect, sal_uInt16 nCount = 1, bool bBasicCall = false );
     bool NxtWrd     ( bool bSelect = false ) { return SimpleMove( &SwWrtShell::_NxtWrd, bSelect ); }
     bool PrvWrd     ( bool bSelect = false ) { return SimpleMove( &SwWrtShell::_PrvWrd, bSelect ); }
 


More information about the Libreoffice-commits mailing list