diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-22 13:48:09 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-25 10:31:35 +0200 |
commit | 65be8fd0f7f30eaca4fbc35e3fdc9cb7763cb44d (patch) | |
tree | bbfe99aba8f0155c7365b4b9d4bcd226654d88d6 /extensions | |
parent | b419da0f53cf7f65b1d0c58351176ece23fbfe1f (diff) |
convert WINDOW_ZORDER constants to scoped enum
Change-Id: I91a583fe7d4195ee6bc73b4854f757517b38408b
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/browserline.cxx | 8 | ||||
-rw-r--r-- | extensions/source/propctrlr/browserline.hxx | 2 | ||||
-rw-r--r-- | extensions/source/propctrlr/browserlistbox.cxx | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/extensions/source/propctrlr/browserline.cxx b/extensions/source/propctrlr/browserline.cxx index 80cbe9266523..207515f59b78 100644 --- a/extensions/source/propctrlr/browserline.cxx +++ b/extensions/source/propctrlr/browserline.cxx @@ -135,17 +135,17 @@ namespace pcr } - void OBrowserLine::SetTabOrder(vcl::Window* pRefWindow, sal_uInt16 nFlags ) + void OBrowserLine::SetTabOrder(vcl::Window* pRefWindow, ZOrderFlags nFlags ) { m_aFtTitle->SetZOrder(pRefWindow,nFlags); if ( m_pControlWindow ) - m_pControlWindow->SetZOrder( m_aFtTitle.get(), WINDOW_ZORDER_BEHIND ); + m_pControlWindow->SetZOrder( m_aFtTitle.get(), ZOrderFlags::Behind ); if ( m_pBrowseButton && m_pControlWindow ) - m_pBrowseButton->SetZOrder( m_pControlWindow, WINDOW_ZORDER_BEHIND ); + m_pBrowseButton->SetZOrder( m_pControlWindow, ZOrderFlags::Behind ); if ( m_pAdditionalBrowseButton && m_pBrowseButton ) - m_pAdditionalBrowseButton->SetZOrder( m_pBrowseButton, WINDOW_ZORDER_BEHIND ); + m_pAdditionalBrowseButton->SetZOrder( m_pBrowseButton, ZOrderFlags::Behind ); } diff --git a/extensions/source/propctrlr/browserline.hxx b/extensions/source/propctrlr/browserline.hxx index 9f39ec6277f3..35c26523d1bb 100644 --- a/extensions/source/propctrlr/browserline.hxx +++ b/extensions/source/propctrlr/browserline.hxx @@ -96,7 +96,7 @@ namespace pcr bool IsVisible(); vcl::Window* GetRefWindow(); - void SetTabOrder(vcl::Window* pRefWindow, sal_uInt16 nFlags ); + void SetTabOrder(vcl::Window* pRefWindow, ZOrderFlags nFlags ); bool GrabFocus(); void ShowBrowseButton( const OUString& _rImageURL, bool _bPrimary ); diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx index f5cfc3bc0a18..7f05d1314620 100644 --- a/extensions/source/propctrlr/browserlistbox.cxx +++ b/extensions/source/propctrlr/browserlistbox.cxx @@ -1162,9 +1162,9 @@ namespace pcr rLine.pLine->IndentTitle( _rPropertyData.IndentLevel > 0 ); if ( nPos > 0 ) - rLine.pLine->SetTabOrder( pRefWindow, WINDOW_ZORDER_BEHIND ); + rLine.pLine->SetTabOrder( pRefWindow, ZOrderFlags::Behind ); else - rLine.pLine->SetTabOrder( pRefWindow, WINDOW_ZORDER_FIRST ); + rLine.pLine->SetTabOrder( pRefWindow, ZOrderFlags::First ); m_aOutOfDateLines.insert( nPos ); rLine.pLine->SetComponentHelpIds( |