diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-22 10:58:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-22 11:47:35 +0200 |
commit | 9585c8b8c8d8724cc1bad4a2060c828c15599929 (patch) | |
tree | 170c8fc738aa1ebfdd554b1faa0aac47e2dc4f64 /sw/source/uibase/inc/wrtsh.hxx | |
parent | 23391fdb5cffb62006415ad1f4c96b6ed5d50cf8 (diff) |
loplugin:constantparam in sw
Change-Id: I56925a8fd776b3ee787cc26adbaa08c58dd022c0
Diffstat (limited to 'sw/source/uibase/inc/wrtsh.hxx')
-rw-r--r-- | sw/source/uibase/inc/wrtsh.hxx | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/sw/source/uibase/inc/wrtsh.hxx b/sw/source/uibase/inc/wrtsh.hxx index 5c6dfd2a13be..51adb0336c9a 100644 --- a/sw/source/uibase/inc/wrtsh.hxx +++ b/sw/source/uibase/inc/wrtsh.hxx @@ -177,10 +177,10 @@ public: // select word / sentence bool SelNearestWrd(); - bool SelWrd (const Point * = nullptr, bool bProp=false ); + bool SelWrd (const Point * = nullptr ); // #i32329# Enhanced selection - void SelSentence (const Point * = nullptr, bool bProp=false ); - void SelPara (const Point * = nullptr, bool bProp=false ); + void SelSentence (const Point * = nullptr ); + void SelPara (const Point * = nullptr ); long SelAll(); // basecursortravelling @@ -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, sal_uInt16 nCount = 1, bool bBasicCall = false ); - bool Down ( bool bSelect, sal_uInt16 nCount = 1, bool bBasicCall = false ); + bool Up ( bool bSelect, bool bBasicCall = false ); + bool Down ( bool bSelect, bool bBasicCall = false ); void NxtWrd ( bool bSelect = false ) { SimpleMove( &SwWrtShell::_NxtWrd, bSelect ); } bool PrvWrd ( bool bSelect = false ) { return SimpleMove( &SwWrtShell::_PrvWrd, bSelect ); } @@ -298,7 +298,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)(); void InsertLineBreak(); void InsertColumnBreak(); void InsertFootnote(const OUString &, bool bEndNote = false, bool bEdit = true ); - void SplitNode( bool bAutoFormat = false, bool bCheckTableStart = true ); + void SplitNode( bool bAutoFormat = false ); bool CanInsert(); // indexes @@ -321,7 +321,6 @@ typedef bool (SwWrtShell:: *FNSimpleMove)(); void InsertObject( /*SvInPlaceObjectRef *pObj, */ // != 0 for clipboard const svt::EmbeddedObjectRef&, SvGlobalName *pName = nullptr, // != 0 create object accordingly - bool bActivate = true, sal_uInt16 nSlotId = 0); // SlotId for dialog bool InsertOleObject( const svt::EmbeddedObjectRef& xObj, SwFlyFrameFormat **pFlyFrameFormat = nullptr ); @@ -396,7 +395,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)(); // jump to bookmark and set the "selections-flags" correctly again void GotoMark( const ::sw::mark::IMark* const pMark ); - bool GotoMark( const ::sw::mark::IMark* const pMark, bool bSelect, bool bStart ); + bool GotoMark( const ::sw::mark::IMark* const pMark, bool bSelect ); void GotoMark( const OUString& rName ); bool GoNextBookmark(); // true when there still was one bool GoPrevBookmark(); |