diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-14 13:24:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-15 10:05:02 +0200 |
commit | 24181bfb0b49a011e201ecc111bac3b48ad5a1ff (patch) | |
tree | e16fcead2274fd42453df019a0994bdb830d8894 /sd | |
parent | 08a2c8516bc47db322e7449fc841f3fcc5487d7e (diff) |
convert LISTBOX_ENTRY_FLAG constants to scoped enum
Change-Id: Id7ca4853094c214b464e2dee53b10558f1f5a3ba
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/animations/CustomAnimationCreateDialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx index 7f73b5c89bf3..5fa9de5a7258 100644 --- a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx @@ -100,7 +100,7 @@ sal_Int32 CategoryListBox::InsertCategory( const OUString& rStr, sal_Int32 nPo { sal_Int32 n = ListBox::InsertEntry( rStr, nPos ); if( n != LISTBOX_ENTRY_NOTFOUND ) - ListBox::SetEntryFlags( n, ListBox::GetEntryFlags(n) | LISTBOX_ENTRY_FLAG_DISABLE_SELECTION ); + ListBox::SetEntryFlags( n, ListBox::GetEntryFlags(n) | ListBoxEntryFlags::DisableSelection ); return n; } @@ -109,7 +109,7 @@ void CategoryListBox::UserDraw( const UserDrawEvent& rUDEvt ) { const sal_uInt16 nItem = rUDEvt.GetItemId(); - if( ListBox::GetEntryFlags(nItem) & LISTBOX_ENTRY_FLAG_DISABLE_SELECTION ) + if( ListBox::GetEntryFlags(nItem) & ListBoxEntryFlags::DisableSelection ) { Rectangle aOutRect( rUDEvt.GetRect() ); OutputDevice* pDev = rUDEvt.GetDevice(); |