summaryrefslogtreecommitdiff
path: root/sw/inc/crsrsh.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-04-19 12:35:30 +0200
committerMichael Stahl <mstahl@redhat.com>2017-04-19 13:02:18 +0200
commit31aac86f14d088628979c7809588f14bef643feb (patch)
tree9611b9252d45598c431ddbd1dca300fed58586a2 /sw/inc/crsrsh.hxx
parent876e13576bf112786172fdc113363f3fe54f19f7 (diff)
sw: replace rudimentary SwCursorShell::m_nBasicActionCnt
The functions to modify the counter were removed in 2004-2006 and there is no evidence in the git repo of these functions ever being called, so the BasicActionPend() condition is effectively equivalent to ActionPend(). Change-Id: Ic8b9c8c6039c318943c96e90f2370cb5a1046ff9
Diffstat (limited to 'sw/inc/crsrsh.hxx')
-rw-r--r--sw/inc/crsrsh.hxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx
index 122cda1406a8..7c5a8dff88dc 100644
--- a/sw/inc/crsrsh.hxx
+++ b/sw/inc/crsrsh.hxx
@@ -203,7 +203,6 @@ private:
* (via Find()) can be realised.
*/
sal_uInt16 m_nCursorMove;
- sal_uInt16 m_nBasicActionCnt; ///< Actions which are parenthesized by Basic
CursorMoveState m_eMvState; ///< Status for Cursor-Travelling - GetCursorOfst
OUString m_sMarkedListId;
@@ -747,8 +746,6 @@ public:
// is the whole document protected/hidden (for UI...)
bool IsAllProtect() const { return m_bAllProtect; }
- bool BasicActionPend() const { return m_nBasicActionCnt != mnStartAction; }
-
bool GotoRegion( const OUString& rName );
// show the current selection