summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-22 13:48:09 +0200
committerNoel Grandin <noel@peralex.com>2015-05-25 10:31:35 +0200
commit65be8fd0f7f30eaca4fbc35e3fdc9cb7763cb44d (patch)
treebbfe99aba8f0155c7365b4b9d4bcd226654d88d6 /sd
parentb419da0f53cf7f65b1d0c58351176ece23fbfe1f (diff)
convert WINDOW_ZORDER constants to scoped enum
Change-Id: I91a583fe7d4195ee6bc73b4854f757517b38408b
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/animations/CustomAnimationDialog.cxx2
-rw-r--r--sd/source/ui/presenter/PresenterHelper.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx
index 461272eb42a0..633427ec3e80 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationDialog.cxx
@@ -2309,7 +2309,7 @@ void PropertyControl::setSubControl( PropertySubControl* pSubControl )
if( pControl )
{
pControl->SetPosSizePixel( GetPosPixel(), GetSizePixel() );
- pControl->SetZOrder( this, WINDOW_ZORDER_BEFOR );
+ pControl->SetZOrder( this, ZOrderFlags::Before );
pControl->Show();
Hide();
}
diff --git a/sd/source/ui/presenter/PresenterHelper.cxx b/sd/source/ui/presenter/PresenterHelper.cxx
index 60b7bcb701de..3de26d6c6418 100644
--- a/sd/source/ui/presenter/PresenterHelper.cxx
+++ b/sd/source/ui/presenter/PresenterHelper.cxx
@@ -183,7 +183,7 @@ void SAL_CALL PresenterHelper::toTop (
if (pWindow != NULL)
{
pWindow->ToTop();
- pWindow->SetZOrder(NULL, WINDOW_ZORDER_LAST);
+ pWindow->SetZOrder(NULL, ZOrderFlags::Last);
}
}