diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-09 08:40:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-09 08:41:12 +0200 |
commit | cfab2fd725276e99fb6fa8b619ca5b2ac3bd025a (patch) | |
tree | 5a4734260635c750c32b788f1fa74117224b7348 /sfx2/source/view/viewfrm.cxx | |
parent | 502a7662555bfa66ab6be84b7d2d11b049ed7a4e (diff) |
convert SFX_SHELL constants to scoped enum
Change-Id: If1649e8f3b9d200b0b176bef7deea41445bd3f2f
Diffstat (limited to 'sfx2/source/view/viewfrm.cxx')
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index c36076b522a1..434b387dc50e 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -1028,9 +1028,9 @@ void SfxViewFrame::PopShellAndSubShells_Impl( SfxViewShell& i_rViewShell ) SfxShell *pSubShell = pDispatcher->GetShell( nLevel-1 ); if ( pSubShell == i_rViewShell.GetSubShell() ) // "real" sub shells will be deleted elsewhere - pDispatcher->Pop( *pSubShell, SFX_SHELL_POP_UNTIL ); + pDispatcher->Pop( *pSubShell, SfxDispatcherPopFlags::POP_UNTIL ); else - pDispatcher->Pop( *pSubShell, SFX_SHELL_POP_UNTIL | SFX_SHELL_POP_DELETE ); + pDispatcher->Pop( *pSubShell, SfxDispatcherPopFlags::POP_UNTIL | SfxDispatcherPopFlags::POP_DELETE ); } pDispatcher->Pop( i_rViewShell ); pDispatcher->Flush(); @@ -1519,7 +1519,7 @@ void SfxViewFrame::KillDispatcher_Impl() if ( pDispatcher ) { if( pModule ) - pDispatcher->Pop( *pModule, SFX_SHELL_POP_UNTIL ); + pDispatcher->Pop( *pModule, SfxDispatcherPopFlags::POP_UNTIL ); else pDispatcher->Pop( *this ); DELETEZ(pDispatcher); |