diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-09-27 00:22:52 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-09-29 13:02:33 +0300 |
commit | 0582d54d89bc6b3f36eaac0768a97e82303a97ca (patch) | |
tree | 5926ac5d282e00fd9f64e8c413139d4c3026715d /svtools | |
parent | 8789bee5d2ab24fb68c66f2a493937a27b034af8 (diff) |
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
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/uno/popupwindowcontroller.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/uno/popupwindowcontroller.cxx b/svtools/source/uno/popupwindowcontroller.cxx index 166a58d262ed..51f2b6e10f42 100644 --- a/svtools/source/uno/popupwindowcontroller.cxx +++ b/svtools/source/uno/popupwindowcontroller.cxx @@ -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(); |