summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-25 12:39:24 +0200
committerNoel Grandin <noel@peralex.com>2015-02-25 12:39:49 +0200
commit15b406f0736ad953aa79102bfa5949871c8c0213 (patch)
tree6323df578781137a65d6fa8e92298025333da61d /sw/source
parentbc81d76567eb64e05f830499ef48c60caee13503 (diff)
convert SFX_CHILDWIN constants to enum class
Change-Id: I8eb0c9bda0883bc08aed3acd7eaa72480848c6f3
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/ui/fldui/fldtdlg.cxx2
-rw-r--r--sw/source/uibase/app/swmodule.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/fldui/fldtdlg.cxx b/sw/source/ui/fldui/fldtdlg.cxx
index b73dc004f163..00cb076de723 100644
--- a/sw/source/ui/fldui/fldtdlg.cxx
+++ b/sw/source/ui/fldui/fldtdlg.cxx
@@ -127,7 +127,7 @@ void SwFldDlg::Initialize(SfxChildWinInfo *pInfo)
aSize = GetSizePixel();
// should the FloatingWindow get zoomed?
- if ( pInfo->nFlags & SFX_CHILDWIN_ZOOMIN )
+ if ( pInfo->nFlags & SfxChildWindowFlags::ZOOMIN )
RollUp();
}
else
diff --git a/sw/source/uibase/app/swmodule.cxx b/sw/source/uibase/app/swmodule.cxx
index ce4339af8458..4a8038ce9e50 100644
--- a/sw/source/uibase/app/swmodule.cxx
+++ b/sw/source/uibase/app/swmodule.cxx
@@ -362,7 +362,7 @@ void SwDLL::RegisterControls()
SwFldDataOnlyDlgWrapper::RegisterChildWindow( false, pMod );
SvxContourDlgChildWindow::RegisterChildWindow( false, pMod );
SwNavigationChild::RegisterChildWindowContext( pMod );
- SwInputChild::RegisterChildWindow( false, pMod, SFX_CHILDWIN_FORCEDOCK );
+ SwInputChild::RegisterChildWindow( false, pMod, SfxChildWindowFlags::FORCEDOCK );
SwRedlineAcceptChild::RegisterChildWindow( false, pMod );
SwSyncChildWin::RegisterChildWindow( true, pMod );
SwMailMergeChildWindow::RegisterChildWindow( false, pMod );