Kaydet (Commit) 84479bc5 authored tarafından Caolán McNamara's avatar Caolán McNamara

reduce DragMode foo

üst e2f062ef
......@@ -374,7 +374,6 @@ SectReprArr::Insert(SectReprArr const*, unsigned short, unsigned short)
SectReprArr::Remove(SectRepr* const&, unsigned short)
SectReprArr::Remove(unsigned short, unsigned short)
SecurityEnvironment_NssImpl::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>)
SelectionEngine::ActivateDragMode()
SetOfByte::GetClearBit(unsigned short) const
SetOfByte::GetClearCount() const
SetOfByte::GetSetBit(unsigned short) const
......
......@@ -75,7 +75,6 @@ public:
#define SELENG_IN_SEL 0x0002
#define SELENG_IN_ADD 0x0004
#define SELENG_ADD_ALW 0x0008
#define SELENG_IN_DRG 0x0010
#define SELENG_HAS_ANCH 0x0020
#define SELENG_CMDEVT 0x0040
#define SELENG_WAIT_UPEVT 0x0080
......@@ -127,9 +126,6 @@ public:
sal_Bool IsAlwaysAdding() const;
void EnableDrag( sal_Bool bOn );
sal_Bool IsDragEnabled() const;
void ActivateDragMode();
sal_Bool IsInDragMode() const;
void SetSelectionMode( SelectionMode eMode );
SelectionMode GetSelectionMode() const { return eSelMode; }
......@@ -174,14 +170,6 @@ public:
}
};
inline sal_Bool SelectionEngine::IsDragEnabled() const
{
if ( nFlags & SELENG_DRG_ENAB )
return sal_True;
else
return sal_False;
}
inline sal_Bool SelectionEngine::IsAddMode() const
{
if ( nFlags & (SELENG_IN_ADD | SELENG_ADD_ALW) )
......@@ -222,14 +210,6 @@ inline sal_Bool SelectionEngine::IsAlwaysAdding() const
return sal_False;
}
inline sal_Bool SelectionEngine::IsInDragMode() const
{
if ( nFlags & SELENG_IN_DRG )
return sal_True;
else
return sal_False;
}
inline sal_Bool SelectionEngine::IsInSelection() const
{
if ( nFlags & SELENG_IN_SEL )
......
......@@ -98,17 +98,6 @@ void SelectionEngine::SetSelectionMode( SelectionMode eMode )
eSelMode = eMode;
}
/*************************************************************************
|*
|* SelectionEngine::ActivateDragMode()
|*
*************************************************************************/
void SelectionEngine::ActivateDragMode()
{
DBG_ERRORFILE( "SelectionEngine::ActivateDragMode not implemented" );
}
/*************************************************************************
|*
|* SelectionEngine::CursorPosChanging()
......
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