diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-25 10:30:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-25 10:32:24 +0200 |
commit | c7efb51e31a4eea48ffed291e5c7fb907b1811e4 (patch) | |
tree | 86603c3d873648b701c357506bcd23993e97807e /sfx2 | |
parent | 4de86ac0c62b446426136b620cfd65d088c51cd8 (diff) |
convert TOTOP constants to scoped enum
Change-Id: I85ba631ba298f1034dc5b6a04a5ff3d509c41bcb
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/inet/inettbc.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/menu/virtmenu.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/inet/inettbc.cxx b/sfx2/source/inet/inettbc.cxx index 04564cdd8b0f..69017d577c75 100644 --- a/sfx2/source/inet/inettbc.cxx +++ b/sfx2/source/inet/inettbc.cxx @@ -184,7 +184,7 @@ IMPL_LINK_NOARG(SfxURLToolBoxControl_Impl, OpenHdl) if ( pWin ) { pWin->GrabFocus(); - pWin->ToTop( TOTOP_RESTOREWHENMIN ); + pWin->ToTop( ToTopFlags::RestoreWhenMin ); } } diff --git a/sfx2/source/menu/virtmenu.cxx b/sfx2/source/menu/virtmenu.cxx index e14bb24e24e1..2ca790ebf76a 100644 --- a/sfx2/source/menu/virtmenu.cxx +++ b/sfx2/source/menu/virtmenu.cxx @@ -953,7 +953,7 @@ IMPL_LINK( SfxVirtualMenu, Select, Menu *, pMenu ) { vcl::Window* pWin = VCLUnoHelper::GetWindow( xFrame->getContainerWindow() ); pWin->GrabFocus(); - pWin->ToTop( TOTOP_RESTOREWHENMIN ); + pWin->ToTop( ToTopFlags::RestoreWhenMin ); break; } |