summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-11-15 13:18:30 +0200
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-11-15 16:42:31 +0100
commitbd8a1d1c4547656f5ae30a507cb7453500cff252 (patch)
treee7a25eae7dc1ad47e1b1dabf1d98c40e8d0b308f /sc/source/ui/view
parent981ce9b3a95d68bc88cf8c9b6fe5c9e6f17a75ef (diff)
tdf#163383 Skip adding a tooltip to internal links in all cases
Change-Id: I1d4e46b6e886d45982f3e8145e0bc12ec12d9884 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176626 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/gridwin5.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin5.cxx b/sc/source/ui/view/gridwin5.cxx
index 27d91eba03d5..5d6a8d78bfd8 100644
--- a/sc/source/ui/view/gridwin5.cxx
+++ b/sc/source/ui/view/gridwin5.cxx
@@ -298,7 +298,7 @@ void ScGridWindow::RequestHelp(const HelpEvent& rHEvt)
{
if( aVEvt.meEvent == SdrEventKind::ExecuteUrl )
{
- if (aVEvt.mpURLField)
+ if (aVEvt.mpURLField && !aVEvt.mpURLField->GetURL().startsWith("#"))
{
aHelpText = SfxHelp::GetURLHelpText(aVEvt.mpURLField->GetURL());
aPixRect = LogicToPixel(aVEvt.mpObj->GetLogicRect());