Kaydet (Commit) 0582d54d authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky

WB_MOVEABLE should not trigger tearoff mode

As any .ui based docking window gets it unconditionally,
see extractDeferredBits function in builder.cxx.

Change-Id: I339a72989ad09d8ea7106f5690fc950ee7ba35da
üst 8789bee5
......@@ -208,7 +208,7 @@ Reference< awt::XWindow > SAL_CALL PopupWindowController::createPopupWindow()
else
nWinBits = pWin->GetStyle();
if ( nWinBits & ( WB_MOVEABLE | WB_SIZEABLE | WB_CLOSEABLE ) )
if ( nWinBits & ( WB_SIZEABLE | WB_CLOSEABLE ) )
eFloatFlags |= FloatWinPopupFlags::AllowTearOff;
pWin->EnableDocking();
......
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