diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-07-23 06:03:16 -0700 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-07-23 06:03:16 -0700 |
commit | d3deac524bffaf5811a6ea4b9a4e7ac6acf7913c (patch) | |
tree | 4533838e0c34e78098343408a0a516fcce247231 /svtools | |
parent | c8d8c442760f35b48606b9dfbec80ac217e0752d (diff) |
Remove DragDrop code from class SvxIconChoiceCtrl_Impl
It wasn' used so no one should miss it.
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/imivctl.hxx | 2 | ||||
-rw-r--r-- | svtools/source/contnr/imivctl1.cxx | 11 |
2 files changed, 0 insertions, 13 deletions
diff --git a/svtools/source/contnr/imivctl.hxx b/svtools/source/contnr/imivctl.hxx index 18b34b780fde..74bce9b33532 100644 --- a/svtools/source/contnr/imivctl.hxx +++ b/svtools/source/contnr/imivctl.hxx @@ -219,7 +219,6 @@ class SvxIconChoiceCtrl_Impl LocalFocus aFocus; // Data for focusrect ::svt::AccessibleFactoryAccess aAccFactory; - List* pDraggedSelection; SvxIconChoiceCtrlEntry* pCurEditedEntry; SvxIconChoiceCtrlTextMode eTextMode; SelectionMode eSelectionMode; @@ -228,7 +227,6 @@ class SvxIconChoiceCtrl_Impl sal_Bool bBoundRectsDirty; sal_Bool bUpdateMode; sal_Bool bEntryEditingEnabled; - sal_Bool bInDragDrop; void ShowCursor( sal_Bool bShow ); diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx index 8602fa4cacfd..b2ec187b370a 100644 --- a/svtools/source/contnr/imivctl1.cxx +++ b/svtools/source/contnr/imivctl1.cxx @@ -120,14 +120,12 @@ SvxIconChoiceCtrl_Impl::SvxIconChoiceCtrl_Impl( pCurHighlightFrame = 0; pEdit = 0; pAnchor = 0; - pDraggedSelection = 0; pPrevDropTarget = 0; pHdlEntry = 0; pHead = NULL; pCursor = NULL; bUpdateMode = sal_True; bEntryEditingEnabled = sal_False; - bInDragDrop = sal_False; bHighlightFramePressed = sal_False; eSelectionMode = MULTIPLE_SELECTION; pView = pCurView; @@ -186,7 +184,6 @@ SvxIconChoiceCtrl_Impl::~SvxIconChoiceCtrl_Impl() delete pDDDev; delete pDDBufDev; delete pDDTempDev; - delete pDraggedSelection; delete pEntryPaintDev; ClearSelectedRectList(); ClearColumnList(); @@ -196,8 +193,6 @@ void SvxIconChoiceCtrl_Impl::Clear( sal_Bool bInCtor ) { StopEntryEditing( sal_True ); nSelectionCount = 0; - DELETEZ(pDraggedSelection); - bInDragDrop = sal_False; pCurHighlightFrame = 0; StopEditTimer(); CancelUserEvents(); @@ -400,12 +395,6 @@ void SvxIconChoiceCtrl_Impl::RemoveEntry( SvxIconChoiceCtrlEntry* pEntry ) if( pEntry == pCurHighlightFrame ) pCurHighlightFrame = 0; - if( bInDragDrop ) - { - DELETEZ(pDraggedSelection); - bInDragDrop = sal_False; - } - if( pEntry->IsSelected() ) CallSelectHandler( 0 ); |