From 65be8fd0f7f30eaca4fbc35e3fdc9cb7763cb44d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 22 May 2015 13:48:09 +0200 Subject: convert WINDOW_ZORDER constants to scoped enum Change-Id: I91a583fe7d4195ee6bc73b4854f757517b38408b --- toolkit/source/awt/vclxcontainer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolkit') 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 ) -- cgit