summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-22 13:48:09 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-05 21:41:22 -0500
commit7201ef515ae16ebc730df06b3d01d78dbacf6737 (patch)
tree48991f89c54fc7557a32d7b50b066df45fe09dc2 /toolkit
parent23ed3993e0f44584893e78226da20cd63242dbdb (diff)
convert WINDOW_ZORDER constants to scoped enum
Change-Id: I91a583fe7d4195ee6bc73b4854f757517b38408b (cherry picked from commit 65be8fd0f7f30eaca4fbc35e3fdc9cb7763cb44d)
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxcontainer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxcontainer.cxx b/toolkit/source/awt/vclxcontainer.cxx
index aff962396d16..448a09fd8882 100644
--- a/toolkit/source/awt/vclxcontainer.cxx
+++ b/toolkit/source/awt/vclxcontainer.cxx
@@ -143,7 +143,7 @@ void VCLXContainer::setTabOrder( const ::com::sun::star::uno::Sequence< ::com::s
// Order windows before manipulating their style, because elements such as the
// RadioButton considers the PREV-window in StateChanged.
if ( pPrevWin )
- pWin->SetZOrder( pPrevWin, WINDOW_ZORDER_BEHIND );
+ pWin->SetZOrder( pPrevWin, ZOrderFlags::Behind );
WinBits nStyle = pWin->GetStyle();
nStyle &= ~(WB_TABSTOP|WB_NOTABSTOP|WB_GROUP);
@@ -198,7 +198,7 @@ void VCLXContainer::setGroup( const ::com::sun::star::uno::Sequence< ::com::sun:
// Z-Order
if ( pSortBehind )
- pWin->SetZOrder( pSortBehind, WINDOW_ZORDER_BEHIND );
+ pWin->SetZOrder( pSortBehind, ZOrderFlags::Behind );
WinBits nStyle = pWin->GetStyle();
if ( n == 0 )