Kaydet (Commit) 3c9b1306 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

ToolBox::mbCommandDrag is always false now

...after 5ac443e1 "ToolBox::mbCustomizeMode is
always false"

Change-Id: I39bd9d07dfd8dee8e935aa612db35e11022f4ed3
üst d1842157
......@@ -137,7 +137,6 @@ private:
sal_uInt16 mnMouseModifier;
bool mbDrag:1,
mbSelection:1,
mbCommandDrag:1,
mbUpper:1,
mbLower:1,
mbIn:1,
......
......@@ -1325,7 +1325,6 @@ void ToolBox::ImplInitToolBoxData()
mnMouseModifier = 0;
mbDrag = false;
mbSelection = false;
mbCommandDrag = false;
mbUpper = false;
mbLower = false;
mbIn = false;
......@@ -3902,13 +3901,12 @@ void ToolBox::MouseButtonUp( const MouseEvent& rMEvt )
if ( ImplHandleMouseButtonUp( rMEvt ) )
return;
if ( mbDragging && (rMEvt.IsLeft() || mbCommandDrag) )
if ( mbDragging && rMEvt.IsLeft() )
{
ImplTBDragMgr* pMgr = ImplGetTBDragMgr();
pMgr->EndDragging();
return;
}
mbCommandDrag = false;
DockingWindow::MouseButtonUp( rMEvt );
}
......
......@@ -1134,8 +1134,6 @@ void ToolBox::StartSelection()
void ToolBox::EndSelection()
{
mbCommandDrag = false;
if ( mbDrag || mbSelection )
{
// reset
......
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