diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-13 08:44:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-13 09:25:51 +0200 |
commit | 666f42854e04141541227d88130ff3338aff07b6 (patch) | |
tree | e14a945622bcb0c87d3015ea2e514f1b593624bf /sw/source | |
parent | facc91ab4a3f25b3290408c7083ed4c09dd8d759 (diff) |
convert FLOATWIN_POPUPMODEEND constants to scoped enum
Change-Id: I36fea4608c744c941bdff401b649fa46302b4dbd
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/uibase/ribbar/workctrl.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/utlui/navipi.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/ribbar/workctrl.cxx b/sw/source/uibase/ribbar/workctrl.cxx index 142a1746ad59..6bd6b5bd3da8 100644 --- a/sw/source/uibase/ribbar/workctrl.cxx +++ b/sw/source/uibase/ribbar/workctrl.cxx @@ -524,7 +524,7 @@ void SwScrollNaviToolBox::MouseButtonUp( const MouseEvent& rMEvt ) { ToolBox::MouseButtonUp(rMEvt); if (m_pNaviPopup->IsInPopupMode()) - m_pNaviPopup->EndPopupMode(FLOATWIN_POPUPMODEEND_CLOSEALL); + m_pNaviPopup->EndPopupMode(FloatWinPopupEndFlags::CloseAll); } void SwScrollNaviToolBox::RequestHelp( const HelpEvent& rHEvt ) diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx index 2bbacde75afb..eae2d9d0f7b9 100644 --- a/sw/source/uibase/utlui/navipi.cxx +++ b/sw/source/uibase/utlui/navipi.cxx @@ -437,7 +437,7 @@ void SwNavigationPI::CreateNavigationTool(const Rectangle& rRect, bool bSetFocus SetPopupWindow( pPopup ); if(bSetFocus) { - pPopup->EndPopupMode(FLOATWIN_POPUPMODEEND_TEAROFF); + pPopup->EndPopupMode(FloatWinPopupEndFlags::TearOff); pPopup->GrabFocus(); } } |