diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-06 14:01:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-11 10:16:54 +0200 |
commit | a4f4a8cb00d8b5f7cadef02afa9025e823384860 (patch) | |
tree | a1dd11783e785479b15f300f17ff96f59db2542c /sfx2/source/appl/workwin.cxx | |
parent | 5eea85ec4fa7c458785be749a0e370a0883ff693 (diff) |
convert SfxChildIdentifier to enum class
Change-Id: I7fb7b76d0642653efb9f3cfe2b55e3a7c5972c5e
Diffstat (limited to 'sfx2/source/appl/workwin.cxx')
-rw-r--r-- | sfx2/source/appl/workwin.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index 53c4b75dd939..d5e5cab33aef 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -1693,7 +1693,7 @@ void SfxWorkWindow::ConfigChild_Impl(SfxChildIdentifier eChild, vcl::Window *pWin=0; SfxChildWin_Impl *pCW = 0; - if ( eChild == SFX_CHILDWIN_OBJECTBAR ) + if ( eChild == SfxChildIdentifier::OBJECTBAR ) return; // configure direct childwindow @@ -1718,9 +1718,9 @@ void SfxWorkWindow::ConfigChild_Impl(SfxChildIdentifier eChild, if ( pDockWin ) { - if ( eChild == SFX_CHILDWIN_DOCKINGWINDOW || pDockWin->GetAlignment() == SFX_ALIGN_NOALIGNMENT ) + if ( eChild == SfxChildIdentifier::DOCKINGWINDOW || pDockWin->GetAlignment() == SFX_ALIGN_NOALIGNMENT ) { - if ( eChild == SFX_CHILDWIN_SPLITWINDOW && eConfig == SFX_TOGGLEFLOATMODE) + if ( eChild == SfxChildIdentifier::SPLITWINDOW && eConfig == SFX_TOGGLEFLOATMODE) { // DockingWindow was dragged out of a SplitWindow pCW->pCli = RegisterChild_Impl(*pDockWin, pDockWin->GetAlignment(), pCW->pWin->CanGetFocus()); @@ -1878,7 +1878,7 @@ void SfxWorkWindow::ConfigChild_Impl(SfxChildIdentifier eChild, if ( pCli && pDockWin ) { eAlign = pDockWin->GetAlignment(); - if ( eChild == SFX_CHILDWIN_DOCKINGWINDOW || eAlign == SFX_ALIGN_NOALIGNMENT) + if ( eChild == SfxChildIdentifier::DOCKINGWINDOW || eAlign == SFX_ALIGN_NOALIGNMENT) { // configuration inside the SplitWindow, no change for the SplitWindows' configuration pCli->bResize = true; |