summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-07 14:56:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-07 15:37:09 +0100
commitb67bcaa6d4cc098de58e18d31a04801a832f9012 (patch)
tree550a8652812f4767653c86ea56ad7a9f7d684e8c /svtools/source
parent90cf31d8fefb46adc582bc2466fae15778f2cfd7 (diff)
FloatWinPopupFlags::NoFocusClose is only set, never read
Change-Id: Ide67b9279b626d3427c93891d27378ffd1f004cc
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/control/calendar.cxx2
-rw-r--r--svtools/source/uno/popupwindowcontroller.cxx1
2 files changed, 1 insertions, 2 deletions
diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx
index 3de88300f894..575463bd3912 100644
--- a/svtools/source/control/calendar.cxx
+++ b/svtools/source/control/calendar.cxx
@@ -2264,7 +2264,7 @@ bool CalendarField::ShowDropDown( bool bShow )
mpCalendar->StartSelection();
mpCalendar->GrabFocus();
mpCalendar->Show();
- mpFloatWin->StartPopupMode( aRect, FloatWinPopupFlags::NoFocusClose|FloatWinPopupFlags::Down );
+ mpFloatWin->StartPopupMode( aRect, FloatWinPopupFlags::Down );
}
else
{
diff --git a/svtools/source/uno/popupwindowcontroller.cxx b/svtools/source/uno/popupwindowcontroller.cxx
index be1b07e64851..b1a977b7c7b6 100644
--- a/svtools/source/uno/popupwindowcontroller.cxx
+++ b/svtools/source/uno/popupwindowcontroller.cxx
@@ -211,7 +211,6 @@ Reference< awt::XWindow > SAL_CALL PopupWindowController::createPopupWindow() th
mxImpl->SetPopupWindow(pWin,pToolBox);
vcl::Window::GetDockingManager()->StartPopupMode( pToolBox, pWin,
FloatWinPopupFlags::GrabFocus |
- FloatWinPopupFlags::NoFocusClose |
FloatWinPopupFlags::AllMouseButtonClose |
FloatWinPopupFlags::NoMouseUpClose );
}