diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-23 12:44:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-24 09:36:56 +0200 |
commit | ffcfcd76d12a54e8a65a2b8d0ba7432d4c57f6ea (patch) | |
tree | 907e2824a4cb8423bef30382753bf78a987e2438 /sw | |
parent | eba9e9f88cf518a289e69e676098319177409e60 (diff) |
convert SfxChildAlignment to enum class
Change-Id: I9013bc6dace79421b0a9ad0401a4fb59365d4dcf
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/dialog/wordcountwrapper.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/fldui/fldwrap.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/index/idxmrk.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/ribbar/inputwin.cxx | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/uibase/dialog/wordcountwrapper.cxx b/sw/source/uibase/dialog/wordcountwrapper.cxx index 0155958fde77..119a0ea926b1 100644 --- a/sw/source/uibase/dialog/wordcountwrapper.cxx +++ b/sw/source/uibase/dialog/wordcountwrapper.cxx @@ -27,7 +27,7 @@ SwWordCountWrapper::SwWordCountWrapper( vcl::Window *pParentWindow, assert(pAbstDlg && "Dialog construction failed!"); pWindow = pAbstDlg->GetWindow(); - eChildAlignment = SFX_ALIGN_NOALIGNMENT; + eChildAlignment = SfxChildAlignment::NOALIGNMENT; } SfxChildWinInfo SwWordCountWrapper::GetInfo() const diff --git a/sw/source/uibase/fldui/fldwrap.cxx b/sw/source/uibase/fldui/fldwrap.cxx index 2acec8581b41..8e90321f1979 100644 --- a/sw/source/uibase/fldui/fldwrap.cxx +++ b/sw/source/uibase/fldui/fldwrap.cxx @@ -88,7 +88,7 @@ SwFldDlgWrapper::SwFldDlgWrapper( vcl::Window* _pParent, sal_uInt16 nId, pDlgInterface = pDlg; pWindow = pDlg->GetWindow(); pDlg->Start(); - eChildAlignment = SFX_ALIGN_NOALIGNMENT; + eChildAlignment = SfxChildAlignment::NOALIGNMENT; } // newly initialise dialog after Doc switch @@ -136,7 +136,7 @@ SwFldDataOnlyDlgWrapper::SwFldDataOnlyDlgWrapper( vcl::Window* _pParent, sal_uIn pDlg->ActivateDatabasePage(); pDlg->Start(); pDlg->Initialize( pInfo ); - eChildAlignment = SFX_ALIGN_NOALIGNMENT; + eChildAlignment = SfxChildAlignment::NOALIGNMENT; } // re-init after doc activation diff --git a/sw/source/uibase/index/idxmrk.cxx b/sw/source/uibase/index/idxmrk.cxx index 43dabb06bbdf..8ffb76094630 100644 --- a/sw/source/uibase/index/idxmrk.cxx +++ b/sw/source/uibase/index/idxmrk.cxx @@ -67,7 +67,7 @@ SwInsertIdxMarkWrapper::SwInsertIdxMarkWrapper( vcl::Window *pParentWindow, pWindow = pAbstDlg->GetWindow(); pWindow->Show(); // at this point,because before pSh has to be initialized in ReInitDlg() // -> Show() will invoke StateChanged() and save pos - eChildAlignment = SFX_ALIGN_NOALIGNMENT; + eChildAlignment = SfxChildAlignment::NOALIGNMENT; } SfxChildWinInfo SwInsertIdxMarkWrapper::GetInfo() const @@ -96,7 +96,7 @@ SwInsertAuthMarkWrapper::SwInsertAuthMarkWrapper( vcl::Window *pParentWindow, OSL_ENSURE(pAbstDlg, "Dialog creation failed!"); pWindow = pAbstDlg->GetWindow(); - eChildAlignment = SFX_ALIGN_NOALIGNMENT; + eChildAlignment = SfxChildAlignment::NOALIGNMENT; } SfxChildWinInfo SwInsertAuthMarkWrapper::GetInfo() const diff --git a/sw/source/uibase/ribbar/inputwin.cxx b/sw/source/uibase/ribbar/inputwin.cxx index c6a5f3d7d76f..981fc7660cdb 100644 --- a/sw/source/uibase/ribbar/inputwin.cxx +++ b/sw/source/uibase/ribbar/inputwin.cxx @@ -618,7 +618,7 @@ SwInputChild::SwInputChild(vcl::Window* _pParent, pDispatch = pBindings->GetDispatcher(); pWindow = new SwInputWindow( _pParent, pBindings ); static_cast<SwInputWindow*>(pWindow)->ShowWin(); - eChildAlignment = SFX_ALIGN_LOWESTTOP; + eChildAlignment = SfxChildAlignment::LOWESTTOP; } SwInputChild::~SwInputChild() |