summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-09 22:53:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-10 10:09:29 +0000
commit84479bc5ab3a185abb57c39d0a0a7a8c763b5875 (patch)
treeb2e6d023f3e19fbad8477dd9eb8600c036b3c628
parente2f062ef7fdf80d9189b19cb396814976c73bf78 (diff)
reduce DragMode foo
-rw-r--r--unusedcode.easy1
-rw-r--r--vcl/inc/vcl/seleng.hxx20
-rw-r--r--vcl/source/window/seleng.cxx11
3 files changed, 0 insertions, 32 deletions
diff --git a/unusedcode.easy b/unusedcode.easy
index 71690831fef4..de596f02a36e 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -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
diff --git a/vcl/inc/vcl/seleng.hxx b/vcl/inc/vcl/seleng.hxx
index 8466df46a901..553ed67da8a1 100644
--- a/vcl/inc/vcl/seleng.hxx
+++ b/vcl/inc/vcl/seleng.hxx
@@ -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 )
diff --git a/vcl/source/window/seleng.cxx b/vcl/source/window/seleng.cxx
index 1d83c1ff073f..483b286260ec 100644
--- a/vcl/source/window/seleng.cxx
+++ b/vcl/source/window/seleng.cxx
@@ -100,17 +100,6 @@ void SelectionEngine::SetSelectionMode( SelectionMode eMode )
/*************************************************************************
|*
-|* SelectionEngine::ActivateDragMode()
-|*
-*************************************************************************/
-
-void SelectionEngine::ActivateDragMode()
-{
- DBG_ERRORFILE( "SelectionEngine::ActivateDragMode not implemented" );
-}
-
-/*************************************************************************
-|*
|* SelectionEngine::CursorPosChanging()
|*
*************************************************************************/