diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-08-06 17:03:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-08-07 10:05:53 +0200 |
commit | 4e5c785b1564f7e4444a426a1523ff7fc88f93d6 (patch) | |
tree | 2d6303c6ab50bfa6dba0f95ff1b54e4446fcd78c /dbaccess | |
parent | 045847237d5a40b2679d53533db4937aa1c9ac3e (diff) |
IMnemonicEntryList interface of SvTreeListBox is unused
Change-Id: I56a97d0ef82353aaf3c2ab482c1d782b5dfc8000
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100263
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/app/AppDetailView.cxx | 22 | ||||
-rw-r--r-- | dbaccess/source/ui/app/AppDetailView.hxx | 4 |
2 files changed, 0 insertions, 26 deletions
diff --git a/dbaccess/source/ui/app/AppDetailView.cxx b/dbaccess/source/ui/app/AppDetailView.cxx index e1abcff56746..59658012ca3a 100644 --- a/dbaccess/source/ui/app/AppDetailView.cxx +++ b/dbaccess/source/ui/app/AppDetailView.cxx @@ -120,28 +120,6 @@ void OCreationList::PreparePaint(vcl::RenderContext& rRenderContext, SvTreeListE rEntry.SetBackColor(aEntryBackground.GetColor()); } -void OCreationList::SelectSearchEntry( const void* _pEntry ) -{ - SvTreeListEntry* pEntry = const_cast< SvTreeListEntry* >( static_cast< const SvTreeListEntry* >( _pEntry ) ); - OSL_ENSURE( pEntry, "OCreationList::SelectSearchEntry: invalid entry!" ); - - if ( pEntry ) - setCurrentEntryInvalidate( pEntry ); - - if ( !HasChildPathFocus() ) - GrabFocus(); -} - -void OCreationList::ExecuteSearchEntry( const void* _pEntry ) const -{ - SvTreeListEntry* pEntry = const_cast< SvTreeListEntry* >( static_cast< const SvTreeListEntry* >( _pEntry ) ); - OSL_ENSURE( pEntry, "OCreationList::ExecuteSearchEntry: invalid entry!" ); - OSL_ENSURE( pEntry == GetCurEntry(), "OCreationList::ExecuteSearchEntry: SelectSearchEntry should have been called before!" ); - - if ( pEntry ) - onSelected( pEntry ); -} - tools::Rectangle OCreationList::GetFocusRect(const SvTreeListEntry* _pEntry, long _nLine) { tools::Rectangle aRect = SvTreeListBox::GetFocusRect( _pEntry, _nLine ); diff --git a/dbaccess/source/ui/app/AppDetailView.hxx b/dbaccess/source/ui/app/AppDetailView.hxx index 97ad813142f8..942b5ad75616 100644 --- a/dbaccess/source/ui/app/AppDetailView.hxx +++ b/dbaccess/source/ui/app/AppDetailView.hxx @@ -74,10 +74,6 @@ namespace dbaui virtual tools::Rectangle GetFocusRect(const SvTreeListEntry* _pEntry, long _nLine) override; virtual void ModelHasCleared() override; - // IMnemonicEntryList - virtual void SelectSearchEntry( const void* _pEntry ) override; - virtual void ExecuteSearchEntry( const void* _pEntry ) const override; - private: void onSelected( SvTreeListEntry const * _pEntry ) const; /** sets a new current entry, and invalidates the old and the new one, if necessary |