summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-26 11:09:26 +0200
committerNoel Grandin <noel@peralex.com>2015-03-27 08:33:43 +0200
commit402ae4c06c0935b0b2bfe9aeb6f961a65702e307 (patch)
treecd75533421c6b32393871fe5ff4eea3ba285ae28 /vcl/source
parent28c61871e876e6a2cac47439f768504b1a4c94a0 (diff)
convert ProminentEntry to enum class
Change-Id: I51578e83a6a44beece174792c9e3e59f7f8c5fef
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/control/ilstbox.cxx4
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();