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 /framework/source | |
parent | 4de86ac0c62b446426136b620cfd65d088c51cd8 (diff) |
convert TOTOP constants to scoped enum
Change-Id: I85ba631ba298f1034dc5b6a04a5ff3d509c41bcb
Diffstat (limited to 'framework/source')
-rw-r--r-- | framework/source/classes/menumanager.cxx | 2 | ||||
-rw-r--r-- | framework/source/uielement/menubarmanager.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/classes/menumanager.cxx b/framework/source/classes/menumanager.cxx index 7cd0e7dd6c06..e6580b50e922 100644 --- a/framework/source/classes/menumanager.cxx +++ b/framework/source/classes/menumanager.cxx @@ -846,7 +846,7 @@ IMPL_LINK( MenuManager, Select, Menu *, pMenu ) { vcl::Window* pWin = VCLUnoHelper::GetWindow( xFrame->getContainerWindow() ); pWin->GrabFocus(); - pWin->ToTop( TOTOP_RESTOREWHENMIN ); + pWin->ToTop( ToTopFlags::RestoreWhenMin ); break; } diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index ad424fdc22c2..921a75b1fa5e 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -985,7 +985,7 @@ IMPL_LINK( MenuBarManager, Select, Menu *, pMenu ) { vcl::Window* pWin = VCLUnoHelper::GetWindow( xFrame->getContainerWindow() ); pWin->GrabFocus(); - pWin->ToTop( TOTOP_RESTOREWHENMIN ); + pWin->ToTop( ToTopFlags::RestoreWhenMin ); break; } |