sc/source/ui/unoobj/docuno.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 88a7384edcd8f4240a659f2c2c7c1258471341f4 Author: Gökay Şatır <gokay.sa...@collabora.com> AuthorDate: Tue Jan 16 18:22:12 2024 +0300 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Wed Jan 17 14:58:44 2024 +0100 Readonly Hyperlink Info - normalize the clicked coordinates. So the Online side can send the info in twips. Signed-off-by: Gökay Şatır <gokay.sa...@collabora.com> Change-Id: I6f60f3a459856df72201b1100dce3306e9d0e47a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162180 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> (cherry picked from commit 322669725b771f5fa2b3c10c5fb73238ca3713f6) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162148 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 33f1790f532a..be90caece8fe 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -899,7 +899,7 @@ OUString ScModelObj::hyperlinkInfoAtPosition(int x, int y) ScGridWindow* pGridWindow = pViewData->GetActiveWin(); if (pGridWindow) { - const Point point(x, y); + const Point point(x * pViewData->GetPPTX(), y * pViewData->GetPPTY()); OUString name; OUString url; pGridWindow->GetEditUrl(point, &name, &url);