Kaydet (Commit) e70c28c4 authored tarafından Michael Stahl's avatar Michael Stahl

SwShell{,Table}Crsr: remove pointless overrides of IsSelOvr

üst fb806145
...@@ -162,14 +162,6 @@ public: ...@@ -162,14 +162,6 @@ public:
// sal_True: Cursor can be set to this position. // sal_True: Cursor can be set to this position.
virtual sal_Bool IsAtValidPos( sal_Bool bPoint = sal_True ) const; 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; virtual bool IsReadOnlyAvailable() const;
DECL_FIXEDMEMPOOL_NEWDEL( SwShellCrsr ) DECL_FIXEDMEMPOOL_NEWDEL( SwShellCrsr )
...@@ -204,17 +196,8 @@ public: ...@@ -204,17 +196,8 @@ public:
// sal_True: Cursor can be set to this position. // sal_True: Cursor can be set to this position.
virtual sal_Bool IsAtValidPos( sal_Bool bPoint = sal_True ) const; 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 #endif // _VISCRS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -594,15 +594,6 @@ sal_Bool SwShellCrsr::UpDown( sal_Bool bUp, sal_uInt16 nCnt ) ...@@ -594,15 +594,6 @@ sal_Bool SwShellCrsr::UpDown( sal_Bool bUp, sal_uInt16 nCnt )
&GetPtPos(), GetShell()->GetUpDownX() ); &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. // TRUE: The cursor can be set to the position.
sal_Bool SwShellCrsr::IsAtValidPos( sal_Bool bPoint ) const sal_Bool SwShellCrsr::IsAtValidPos( sal_Bool bPoint ) const
{ {
...@@ -729,15 +720,6 @@ sal_Bool SwShellTableCrsr::IsInside( const Point& rPt ) const ...@@ -729,15 +720,6 @@ sal_Bool SwShellTableCrsr::IsInside( const Point& rPt ) const
return sal_False; 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 sal_Bool SwShellTableCrsr::IsAtValidPos( sal_Bool bPoint ) const
{ {
return SwShellCrsr::IsAtValidPos( bPoint ); return SwShellCrsr::IsAtValidPos( bPoint );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment