summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh/select.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/wrtsh/select.cxx')
-rw-r--r--sw/source/uibase/wrtsh/select.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx
index 8c1c21fc964c..33c47745539f 100644
--- a/sw/source/uibase/wrtsh/select.cxx
+++ b/sw/source/uibase/wrtsh/select.cxx
@@ -761,18 +761,16 @@ void SwWrtShell::ToggleAddMode()
Invalidate();
}
-bool SwWrtShell::ToggleBlockMode()
+void SwWrtShell::ToggleBlockMode()
{
m_bBlockMode ? LeaveBlockMode(): EnterBlockMode();
Invalidate();
- return !m_bBlockMode;
}
-bool SwWrtShell::ToggleExtMode()
+void SwWrtShell::ToggleExtMode()
{
m_bExtMode ? LeaveExtMode() : EnterExtMode();
Invalidate();
- return !m_bExtMode;
}
// Dragging in standard mode (Selecting of content)