vcl/source/treelist/treelistbox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5e427cb465d83b104f660b71cf44d18e121221ca Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Tue Jul 22 08:42:12 2025 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Tue Jul 22 12:02:25 2025 +0200 vcl: Use existing SvTreeListBox::GetEntryTooltip ... instead of calling the handler manually. Change-Id: I00e79586c7772f564e185adf00fab80e58a59c37 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188135 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx index 576f5b9b4a8f..98b10083934e 100644 --- a/vcl/source/treelist/treelistbox.cxx +++ b/vcl/source/treelist/treelistbox.cxx @@ -3334,7 +3334,7 @@ void SvTreeListBox::RequestHelp( const HelpEvent& rHEvt ) const Point pos(ScreenToOutputPixel(rHEvt.GetMousePosPixel())); if (SvTreeListEntry* entry = GetEntry(pos)) { - const OUString tooltip = aTooltipHdl.Call(entry); + const OUString tooltip = GetEntryTooltip(entry); if (!tooltip.isEmpty()) { const Size size(GetOutputSizePixel().Width(), GetEntryHeight());