summaryrefslogtreecommitdiff
path: root/sw/inc/viscrs.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/viscrs.hxx')
-rw-r--r--sw/inc/viscrs.hxx22
1 files changed, 4 insertions, 18 deletions
diff --git a/sw/inc/viscrs.hxx b/sw/inc/viscrs.hxx
index 5b0b925c3d17..f9ef4eafd458 100644
--- a/sw/inc/viscrs.hxx
+++ b/sw/inc/viscrs.hxx
@@ -39,26 +39,16 @@ class SwShellCrsr;
// From here classes/methods for non-text cursor.
class SwVisCrsr
-#ifdef SW_CRSR_TIMER
- : private Timer
-#endif
{
friend void _InitCore();
friend void _FinitCore();
- sal_Bool bIsVisible : 1;
- sal_Bool bIsDragCrsr : 1;
-
-#ifdef SW_CRSR_TIMER
- sal_Bool bTimerOn : 1;
-#endif
+ bool bIsVisible : 1;
+ bool bIsDragCrsr : 1;
Cursor aTxtCrsr;
const SwCrsrShell* pCrsrShell;
-#ifdef SW_CRSR_TIMER
- virtual void Timeout();
-#endif
void _SetPosAndShow();
public:
@@ -68,12 +58,8 @@ public:
void Show();
void Hide();
- sal_Bool IsVisible() const { return bIsVisible; }
- void SetDragCrsr( sal_Bool bFlag = sal_True ) { bIsDragCrsr = bFlag; }
-
-#ifdef SW_CRSR_TIMER
- sal_Bool ChgTimerFlag( sal_Bool bTimerOn = sal_True );
-#endif
+ bool IsVisible() const { return bIsVisible; }
+ void SetDragCrsr( bool bFlag = true ) { bIsDragCrsr = bFlag; }
};