From 31aac86f14d088628979c7809588f14bef643feb Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 19 Apr 2017 12:35:30 +0200 Subject: 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 --- sw/inc/crsrsh.hxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'sw/inc/crsrsh.hxx') 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 -- cgit