diff options
author | Noel Grandin <noel@peralex.com> | 2015-02-25 12:39:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-02-25 12:39:49 +0200 |
commit | 15b406f0736ad953aa79102bfa5949871c8c0213 (patch) | |
tree | 6323df578781137a65d6fa8e92298025333da61d /sc/source/ui | |
parent | bc81d76567eb64e05f830499ef48c60caee13503 (diff) |
convert SFX_CHILDWIN constants to enum class
Change-Id: I8eb0c9bda0883bc08aed3acd7eaa72480848c6f3
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/app/scdll.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/ChildWindowWrapper.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/reffact.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/app/scdll.cxx b/sc/source/ui/app/scdll.cxx index 2bccd1d965fe..52a98d4b12a5 100644 --- a/sc/source/ui/app/scdll.cxx +++ b/sc/source/ui/app/scdll.cxx @@ -232,7 +232,7 @@ void ScDLL::Init() // Child Windows - ScInputWindowWrapper ::RegisterChildWindow(true, pMod, SFX_CHILDWIN_TASK|SFX_CHILDWIN_FORCEDOCK); + ScInputWindowWrapper ::RegisterChildWindow(true, pMod, SfxChildWindowFlags::TASK|SfxChildWindowFlags::FORCEDOCK); ScNavigatorDialogWrapper ::RegisterChildWindowContext(static_cast<sal_uInt16>(ScTabViewShell::GetInterfaceId()), pMod); ScSolverDlgWrapper ::RegisterChildWindow(false, pMod); ScOptSolverDlgWrapper ::RegisterChildWindow(false, pMod); @@ -267,7 +267,7 @@ void ScDLL::Init() // Redlining Window ScAcceptChgDlgWrapper ::RegisterChildWindow(false, pMod); - ScSimpleRefDlgWrapper ::RegisterChildWindow(false, pMod, SFX_CHILDWIN_ALWAYSAVAILABLE|SFX_CHILDWIN_NEVERHIDE ); + ScSimpleRefDlgWrapper ::RegisterChildWindow(false, pMod, SfxChildWindowFlags::ALWAYSAVAILABLE|SfxChildWindowFlags::NEVERHIDE ); ScHighlightChgDlgWrapper ::RegisterChildWindow(false, pMod); SvxSearchDialogWrapper ::RegisterChildWindow(false, pMod); diff --git a/sc/source/ui/inc/ChildWindowWrapper.hxx b/sc/source/ui/inc/ChildWindowWrapper.hxx index 6e50bf951cb4..3d52f96b0d0a 100644 --- a/sc/source/ui/inc/ChildWindowWrapper.hxx +++ b/sc/source/ui/inc/ChildWindowWrapper.hxx @@ -51,7 +51,7 @@ public: static void RegisterChildWindow ( bool bVisible = false, SfxModule* pModule = NULL, - sal_uInt16 nFlags = 0) + SfxChildWindowFlags nFlags = SfxChildWindowFlags::NONE) { SfxChildWinFactory* pFactory = new SfxChildWinFactory(ChildWindowWrapper::CreateImpl, WindowID, CHILDWIN_NOPOS ); pFactory->aInfo.nFlags |= nFlags; diff --git a/sc/source/ui/view/reffact.cxx b/sc/source/ui/view/reffact.cxx index 55697e288650..d6a1258d14f4 100644 --- a/sc/source/ui/view/reffact.cxx +++ b/sc/source/ui/view/reffact.cxx @@ -61,7 +61,7 @@ SfxChildWinInfo ScValidityRefChildWin::GetInfo() const if( pWnd->IsDialog() ) if ( static_cast<Dialog*>(pWnd)->IsRollUp() ) - anInfo.nFlags |= SFX_CHILDWIN_ZOOMIN; + anInfo.nFlags |= SfxChildWindowFlags::ZOOMIN; } return anInfo; |