summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-11-24 00:52:02 +0100
committerMichael Stahl <mstahl@redhat.com>2011-11-24 00:52:02 +0100
commite70c28c4f4f589edf2a74d21648acc212eb80485 (patch)
tree3b328fe2bae5e8a26e45ffa8974a59ee4a066378 /sw
parentfb80614576fc49ee257f6048ec98ae005627c1d2 (diff)
SwShell{,Table}Crsr: remove pointless overrides of IsSelOvr
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/viscrs.hxx17
-rw-r--r--sw/source/core/crsr/viscrs.cxx18
2 files changed, 0 insertions, 35 deletions
diff --git a/sw/inc/viscrs.hxx b/sw/inc/viscrs.hxx
index bf6c829b3162..5b0b925c3d17 100644
--- a/sw/inc/viscrs.hxx
+++ b/sw/inc/viscrs.hxx
@@ -162,14 +162,6 @@ public:
// sal_True: Cursor can be set to this position.
virtual sal_Bool IsAtValidPos( sal_Bool bPoint = sal_True ) const;
-#ifdef DBG_UTIL
- // For testing of UNO-Crsr behavior here the implementation at visible cursor.
- virtual sal_Bool IsSelOvr( int eFlags =
- ( nsSwCursorSelOverFlags::SELOVER_CHECKNODESSECTION |
- nsSwCursorSelOverFlags::SELOVER_TOGGLE |
- nsSwCursorSelOverFlags::SELOVER_CHANGEPOS ));
-#endif
-
virtual bool IsReadOnlyAvailable() const;
DECL_FIXEDMEMPOOL_NEWDEL( SwShellCrsr )
@@ -204,17 +196,8 @@ public:
// sal_True: Cursor can be set to this position.
virtual sal_Bool IsAtValidPos( sal_Bool bPoint = sal_True ) const;
-#ifdef DBG_UTIL
- // For testing of UNO-Crsr behavior here the implementation at visible cursor.
- virtual sal_Bool IsSelOvr( int eFlags =
- ( nsSwCursorSelOverFlags::SELOVER_CHECKNODESSECTION |
- nsSwCursorSelOverFlags::SELOVER_TOGGLE |
- nsSwCursorSelOverFlags::SELOVER_CHANGEPOS ));
-#endif
};
-
-
#endif // _VISCRS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx
index 138a053289ba..956507a42366 100644
--- a/sw/source/core/crsr/viscrs.cxx
+++ b/sw/source/core/crsr/viscrs.cxx
@@ -594,15 +594,6 @@ sal_Bool SwShellCrsr::UpDown( sal_Bool bUp, sal_uInt16 nCnt )
&GetPtPos(), GetShell()->GetUpDownX() );
}
-#ifdef DBG_UTIL
-// JP 05.03.98: To test the UNO-Crsr behavior here the implementation on the
-// visible cursor.
-sal_Bool SwShellCrsr::IsSelOvr( int eFlags )
-{
- return SwCursor::IsSelOvr( eFlags );
-}
-#endif
-
// TRUE: The cursor can be set to the position.
sal_Bool SwShellCrsr::IsAtValidPos( sal_Bool bPoint ) const
{
@@ -729,15 +720,6 @@ sal_Bool SwShellTableCrsr::IsInside( const Point& rPt ) const
return sal_False;
}
-#ifdef DBG_UTIL
-// JP 05.03.98: To test the UNO-Crsr behavior here the implementation on the
-// visible cursor.
-sal_Bool SwShellTableCrsr::IsSelOvr( int eFlags )
-{
- return SwShellCrsr::IsSelOvr( eFlags );
-}
-#endif
-
sal_Bool SwShellTableCrsr::IsAtValidPos( sal_Bool bPoint ) const
{
return SwShellCrsr::IsAtValidPos( bPoint );