diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-12 15:30:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-13 09:25:50 +0200 |
commit | facc91ab4a3f25b3290408c7083ed4c09dd8d759 (patch) | |
tree | 65062b866ac520a9f4078886ac04a20e0e492733 /svx/source/tbxctrls/lboxctrl.cxx | |
parent | 96096e27457454219c6621b060e89319ceaca23c (diff) |
convert FLOATWIN_POPUPMODE constants to scoped enum
Change-Id: I744d430ef6a506977eb10b892582c8969ec27524
Diffstat (limited to 'svx/source/tbxctrls/lboxctrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/lboxctrl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/lboxctrl.cxx b/svx/source/tbxctrls/lboxctrl.cxx index a517946bff0e..d83a587d90cd 100644 --- a/svx/source/tbxctrls/lboxctrl.cxx +++ b/svx/source/tbxctrls/lboxctrl.cxx @@ -178,7 +178,7 @@ void SvxListBoxControl::StateChanged( IMPL_LINK_NOARG(SvxListBoxControl, PopupModeEndHdl) { - if( pPopupWin && 0 == pPopupWin->GetPopupModeFlags() && + if( pPopupWin && FloatWinPopupFlags::NONE == pPopupWin->GetPopupModeFlags() && pPopupWin->IsUserSelected() ) { sal_uInt16 nCount = pPopupWin->GetListBox().GetSelectEntryCount(); @@ -308,7 +308,7 @@ VclPtr<SfxPopupWindow> SvxUndoRedoControl::CreatePopupWindow() // move focus in floating window without // closing it (GrabFocus() would close it!) - pPopupWin->StartPopupMode( &rBox, FLOATWIN_POPUPMODE_GRABFOCUS ); + pPopupWin->StartPopupMode( &rBox, FloatWinPopupFlags::GrabFocus ); //pPopupWin->GetListBox().GrabFocus(); return pPopupWin; |