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
This commit is contained in:
Ilmari Lauhakangas
2024-11-15 16:42:31 +01:00
parent 981ce9b3a9
commit bd8a1d1c45
+1 -1
View File
@@ -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());