diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-18 11:22:17 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-18 12:46:35 +0200 |
commit | 1c73135493e844c04446f58e7001920381787317 (patch) | |
tree | 99bef7055d1af5d64d9b3556834ac8409bead81d /desktop/source/deployment | |
parent | 0d3d8af033fa11730abf6a0fac13f23eb0b0403b (diff) |
convert SvLBoxButtonKind to scoped enum
Change-Id: Ia8e19473132cf95837acc499c5831b5ca8786a68
Diffstat (limited to 'desktop/source/deployment')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_updatedialog.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx index 329459e56502..624a64d987fc 100644 --- a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx +++ b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx @@ -671,7 +671,7 @@ void UpdateDialog::CheckListBox::handlePopupMenu( const Point &rPos ) if ( p->m_eKind == ENABLED_UPDATE ) { RemoveEntry( nEntryPos ); - m_dialog.addAdditional( p, SvLBoxButtonKind_disabledCheckbox ); + m_dialog.addAdditional( p, SvLBoxButtonKind::DisabledCheckbox ); } if ( aCmd == CMD_IGNORE_UPDATE ) m_dialog.setIgnoredUpdate( p, true, false ); @@ -685,7 +685,7 @@ void UpdateDialog::CheckListBox::handlePopupMenu( const Point &rPos ) if ( p->m_eKind == ENABLED_UPDATE ) { RemoveEntry( nEntryPos ); - m_dialog.insertItem( p, SvLBoxButtonKind_enabledCheckbox ); + m_dialog.insertItem( p, SvLBoxButtonKind::EnabledCheckbox ); } m_dialog.setIgnoredUpdate( p, false, false ); } @@ -738,11 +738,11 @@ void UpdateDialog::addEnabledUpdate( OUString const & name, if ( ! isIgnoredUpdate( pEntry ) ) { - sal_uInt16 nPos = insertItem( pEntry, SvLBoxButtonKind_enabledCheckbox ); + sal_uInt16 nPos = insertItem( pEntry, SvLBoxButtonKind::EnabledCheckbox ); m_pUpdates->CheckEntryPos( nPos ); } else - addAdditional( pEntry, SvLBoxButtonKind_disabledCheckbox ); + addAdditional( pEntry, SvLBoxButtonKind::DisabledCheckbox ); m_pUpdate->Enable(); m_pUpdates->Enable(); @@ -763,7 +763,7 @@ void UpdateDialog::addDisabledUpdate( UpdateDialog::DisabledUpdate & data ) m_ListboxEntries.push_back( pEntry ); isIgnoredUpdate( pEntry ); - addAdditional( pEntry, SvLBoxButtonKind_disabledCheckbox ); + addAdditional( pEntry, SvLBoxButtonKind::DisabledCheckbox ); } @@ -778,7 +778,7 @@ void UpdateDialog::addSpecificError( UpdateDialog::SpecificError & data ) m_specificErrors.push_back( data ); m_ListboxEntries.push_back( pEntry ); - addAdditional( pEntry, SvLBoxButtonKind_staticImage); + addAdditional( pEntry, SvLBoxButtonKind::StaticImage); } void UpdateDialog::checkingDone() { @@ -1248,7 +1248,7 @@ IMPL_LINK_NOARG_TYPED(UpdateDialog, allHandler, CheckBox&, void) i != m_ListboxEntries.end(); ++i ) { if ( (*i)->m_bIgnored || ( (*i)->m_eKind != ENABLED_UPDATE ) ) - insertItem( (*i), SvLBoxButtonKind_disabledCheckbox ); + insertItem( (*i), SvLBoxButtonKind::DisabledCheckbox ); } } else |