diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-26 11:09:26 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-27 08:33:43 +0200 |
commit | 402ae4c06c0935b0b2bfe9aeb6f961a65702e307 (patch) | |
tree | cd75533421c6b32393871fe5ff4eea3ba285ae28 /vcl/source | |
parent | 28c61871e876e6a2cac47439f768504b1a4c94a0 (diff) |
convert ProminentEntry to enum class
Change-Id: I51578e83a6a44beece174792c9e3e59f7f8c5fef
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/control/ilstbox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx index 0121b618628c..2ec92334e880 100644 --- a/vcl/source/control/ilstbox.cxx +++ b/vcl/source/control/ilstbox.cxx @@ -524,7 +524,7 @@ ImplListBoxWindow::ImplListBoxWindow( vcl::Window* pParent, WinBits nWinStyle ) mnCurrentPos = LISTBOX_ENTRY_NOTFOUND; mnTrackingSaveSelection = LISTBOX_ENTRY_NOTFOUND; mnSeparatorPos = LISTBOX_ENTRY_NOTFOUND; - meProminentType = PROMINENT_TOP; + meProminentType = ProminentEntry::TOP; SetLineColor(); SetTextFillColor(); @@ -1992,7 +1992,7 @@ void ImplListBoxWindow::SetTopEntry( sal_Int32 nTop ) void ImplListBoxWindow::ShowProminentEntry( sal_Int32 nEntryPos ) { - if( meProminentType == PROMINENT_MIDDLE ) + if( meProminentType == ProminentEntry::MIDDLE ) { sal_Int32 nPos = nEntryPos; long nWHeight = PixelToLogic( GetSizePixel() ).Height(); |