summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-04 09:24:56 +0200
committerNoel Grandin <noel@peralex.com>2016-03-04 11:48:04 +0200
commit9cc8a26fcdd4dbf7d5d65869bf84b824339751ce (patch)
treeb08de712db450099763ab9cd4e175354ad4c9837 /sw/source/uibase/wrtsh
parent9a1e6d916eff1236cc1be2056c91e56018a482bf (diff)
loplugin:unuseddefaultparam in sw
Change-Id: I1a8a25c09ae0c8ba39fcedb032562df93fdd6ba4
Diffstat (limited to 'sw/source/uibase/wrtsh')
-rw-r--r--sw/source/uibase/wrtsh/move.cxx24
-rw-r--r--sw/source/uibase/wrtsh/select.cxx8
2 files changed, 16 insertions, 16 deletions
diff --git a/sw/source/uibase/wrtsh/move.cxx b/sw/source/uibase/wrtsh/move.cxx
index 5a663a0ecb03..baaba962613d 100644
--- a/sw/source/uibase/wrtsh/move.cxx
+++ b/sw/source/uibase/wrtsh/move.cxx
@@ -355,39 +355,39 @@ void SwWrtShell::EndPara( bool bSelect )
// SSelection with or without
// returns success or failure
-void SwWrtShell::StartOfColumn( bool bSelect )
+void SwWrtShell::StartOfColumn()
{
- ShellMoveCursor aTmp( this, bSelect);
+ ShellMoveCursor aTmp( this, false/*bSelect*/);
MoveColumn(fnColumnCurr, fnColumnStart);
}
-void SwWrtShell::EndOfColumn( bool bSelect )
+void SwWrtShell::EndOfColumn()
{
- ShellMoveCursor aTmp( this, bSelect);
+ ShellMoveCursor aTmp( this, false/*bSelect*/);
MoveColumn(fnColumnCurr, fnColumnEnd);
}
-void SwWrtShell::StartOfNextColumn( bool bSelect )
+void SwWrtShell::StartOfNextColumn()
{
- ShellMoveCursor aTmp( this, bSelect);
+ ShellMoveCursor aTmp( this, false/*bSelect*/);
MoveColumn( fnColumnNext, fnColumnStart);
}
-void SwWrtShell::EndOfNextColumn( bool bSelect )
+void SwWrtShell::EndOfNextColumn()
{
- ShellMoveCursor aTmp( this, bSelect);
+ ShellMoveCursor aTmp( this, false/*bSelect*/);
MoveColumn(fnColumnNext, fnColumnEnd);
}
-void SwWrtShell::StartOfPrevColumn( bool bSelect )
+void SwWrtShell::StartOfPrevColumn()
{
- ShellMoveCursor aTmp( this, bSelect);
+ ShellMoveCursor aTmp( this, false/*bSelect*/);
MoveColumn(fnColumnPrev, fnColumnStart);
}
-void SwWrtShell::EndOfPrevColumn( bool bSelect )
+void SwWrtShell::EndOfPrevColumn()
{
- ShellMoveCursor aTmp( this, bSelect);
+ ShellMoveCursor aTmp( this, false/*bSelect*/);
MoveColumn(fnColumnPrev, fnColumnEnd);
}
diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx
index 71dce0e22fc6..35b0b19cc850 100644
--- a/sw/source/uibase/wrtsh/select.cxx
+++ b/sw/source/uibase/wrtsh/select.cxx
@@ -400,11 +400,11 @@ void SwWrtShell::EndSelect()
m_bInSelect = false;
if (m_bAddMode)
{
- AddLeaveSelect(nullptr);
+ AddLeaveSelect();
}
else
{
- SttLeaveSelect(nullptr);
+ SttLeaveSelect();
m_fnSetCursor = &SwWrtShell::SetCursorKillSel;
m_fnKillSel = &SwWrtShell::ResetSelect;
}
@@ -576,7 +576,7 @@ void SwWrtShell::LeaveExtMode()
// End of a selection; if the selection is empty,
// ClearMark().
-void SwWrtShell::SttLeaveSelect(const Point *, bool )
+void SwWrtShell::SttLeaveSelect()
{
if(SwCursorShell::HasSelection() && !IsSelTableCells() && m_bClearMark) {
return;
@@ -586,7 +586,7 @@ void SwWrtShell::SttLeaveSelect(const Point *, bool )
// Leaving of the selection mode in additional mode
-void SwWrtShell::AddLeaveSelect(const Point *, bool )
+void SwWrtShell::AddLeaveSelect()
{
if(IsTableMode()) LeaveAddMode();
else if(SwCursorShell::HasSelection())