summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
diff options
context:
space:
mode:
authorJaume Pujantell <jaume.pujantell@collabora.com>2024-07-08 22:27:24 +0200
committerMiklos Vajna <vmiklos@collabora.com>2024-07-16 08:21:23 +0200
commitd54f049ee7ca9b4bb0452412196d2d709ef048d8 (patch)
tree65188dbf9bff076207e31d713ccc6cdae2602f97 /sc/source/ui/inc
parent1d2c42037c6704122581c2c6f0dd9d7979f49211 (diff)
lok calc: allow remove and edit hypelink outside of edit mode
Right now .uno:EditHyperlink and .uno:RemoveHyperlink only work on edit mode or inside a draw object, but LOK_CALLBACK_HYPERLINK_CLICKED is dispatched outside of edit mode. Change-Id: I26fb0c2e1ac438631ea71e33282e201f0a215d05 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170171 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit decb72c909b3f8296fb5c6b57b267c1079a865be) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170478 Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r--sc/source/ui/inc/gridwin.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx
index 76cbe56f4c4e..f456712b616f 100644
--- a/sc/source/ui/inc/gridwin.hxx
+++ b/sc/source/ui/inc/gridwin.hxx
@@ -396,7 +396,8 @@ public:
/// Get the cell selection, coordinates are in logic units.
void GetCellSelection(std::vector<tools::Rectangle>& rLogicRects);
- bool GetEditUrl( const Point& rPos, OUString* pName=nullptr, OUString* pUrl=nullptr, OUString* pTarget=nullptr );
+ bool GetEditUrl(const Point& rPos, OUString* pName = nullptr, OUString* pUrl = nullptr,
+ OUString* pTarget = nullptr, SCCOL* pnCol= nullptr);
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible() override;