vcl: Drop SvTreeListBox::CallImplEventListeners

It simply calls Control::CallEventListeners.
Call the latter directly instead in the only
caller.

Change-Id: I744827f5a38e644f26b3fa03156f9d99a8b8a4b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205137
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
This commit is contained in:
Michael Weghorn
2026-05-13 07:23:36 +02:00
parent 942094e4de
commit 2ae76d0def
3 changed files with 1 additions and 8 deletions
-2
View File
@@ -617,8 +617,6 @@ protected:
virtual void ApplySettings(vcl::RenderContext& rRenderContext) override;
void CallImplEventListeners(VclEventId nEvent, void* pData);
void ImplEditEntry( SvTreeListEntry* pEntry );
void AdjustEntryHeightAndRecalc();
+1 -1
View File
@@ -3122,7 +3122,7 @@ const Image& SvImpLBox::GetDefaultCollapsedNodeImage( )
void SvImpLBox::CallEventListeners( VclEventId nEvent, void* pData )
{
m_rView.CallImplEventListeners(nEvent, pData);
m_rView.CallEventListeners(nEvent, pData);
}
bool SvImpLBox::IsSelectable(const SvTreeListEntry& rEntry) const
-5
View File
@@ -3810,11 +3810,6 @@ tools::Rectangle SvTreeListBox::GetBoundingRect(const SvTreeListEntry* pEntry)
return aRect;
}
void SvTreeListBox::CallImplEventListeners(VclEventId nEvent, void* pData)
{
CallEventListeners(nEvent, pData);
}
void SvTreeListBox::set_min_width_in_chars(sal_Int32 nChars)
{
m_nMinWidthInChars = nChars;