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 /sw | |
parent | 502a7662555bfa66ab6be84b7d2d11b049ed7a4e (diff) |
convert SFX_SHELL constants to scoped enum
Change-Id: If1649e8f3b9d200b0b176bef7deea41445bd3f2f
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/uiview/view.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/web/wview.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx index fb92a818d428..8c16a79f3f5e 100644 --- a/sw/source/uibase/uiview/view.cxx +++ b/sw/source/uibase/uiview/view.cxx @@ -279,7 +279,7 @@ void SwView::SelectShell() || pSfxShell->ISA( SwAnnotationShell ) ) { - rDispatcher.Pop( *pSfxShell, SFX_SHELL_POP_DELETE ); + rDispatcher.Pop( *pSfxShell, SfxDispatcherPopFlags::POP_DELETE ); } else if ( pSfxShell->ISA( FmFormShell ) ) { diff --git a/sw/source/uibase/web/wview.cxx b/sw/source/uibase/web/wview.cxx index eff5f9b6c713..ecd15c64109a 100644 --- a/sw/source/uibase/web/wview.cxx +++ b/sw/source/uibase/web/wview.cxx @@ -148,7 +148,7 @@ void SwWebView::SelectShell() { pSfxShell = rDispatcher.GetShell( --i ); OSL_ENSURE( pSfxShell, "My Shell ist lost in space" ); - rDispatcher.Pop( *pSfxShell, SFX_SHELL_POP_UNTIL | SFX_SHELL_POP_DELETE); + rDispatcher.Pop( *pSfxShell, SfxDispatcherPopFlags::POP_UNTIL | SfxDispatcherPopFlags::POP_DELETE); } } |