summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/scdll.cxx4
-rw-r--r--sc/source/ui/inc/ChildWindowWrapper.hxx2
-rw-r--r--sc/source/ui/view/reffact.cxx2
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;