Remove DragDrop code from class SvxIconChoiceCtrl_Impl

It wasn' used so no one should miss it.
This commit is contained in:
Joseph Powers 2011-07-23 06:03:16 -07:00
parent c8d8c44276
commit d3deac524b
2 changed files with 0 additions and 13 deletions

View file

@ -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 );

View file

@ -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 );