diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-25 11:26:01 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-25 13:11:50 +0000 |
commit | 102196f06400864ef49af961352b5c285ee1f3ab (patch) | |
tree | 9c9fd222e06847ce239eaa0c8993b5700b578084 /svtools | |
parent | a0a31d1a5ba7a2f9eee7b891f0d29f82d9ad13b7 (diff) |
Convert AUTOCOMPLETE to scoped enum
Change-Id: I201c8f8b41855b2777f0e7131aeaf33cafb82804
Reviewed-on: https://gerrit.libreoffice.org/25438
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/autocmpledit.cxx | 2 | ||||
-rw-r--r-- | svtools/source/control/inettbc.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/autocmpledit.cxx b/svtools/source/control/autocmpledit.cxx index 9443aebde78c..af03e270bf44 100644 --- a/svtools/source/control/autocmpledit.cxx +++ b/svtools/source/control/autocmpledit.cxx @@ -30,7 +30,7 @@ void AutocompleteEdit::ClearEntries() IMPL_LINK_NOARG_TYPED(AutocompleteEdit, AutoCompleteHdl_Impl, Edit&, void) { - if( GetAutocompleteAction() != AUTOCOMPLETE_KEYINPUT ) + if( GetAutocompleteAction() != AutocompleteAction::KeyInput ) return; if( Application::AnyInput( VclInputFlags::KEYBOARD ) ) diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index a3a0d1ec9d11..fbbfcab83a3d 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -1101,7 +1101,7 @@ bool SvtURLBox::PreNotify( NotifyEvent& rNEvt ) IMPL_LINK_NOARG_TYPED(SvtURLBox, AutoCompleteHdl_Impl, Edit&, void) { - if ( GetSubEdit()->GetAutocompleteAction() == AUTOCOMPLETE_KEYINPUT ) + if ( GetSubEdit()->GetAutocompleteAction() == AutocompleteAction::KeyInput ) TryAutoComplete(); } |