summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2022-02-23 14:42:03 -0400
committerHenry Castro <hcastro@collabora.com>2022-07-05 19:54:33 +0200
commited3270a522c487e172f78eab5ee449fd68591bed (patch)
treeb40a3777e5f10a8d93cba822404c01e83b5d38f3 /sc
parent5e9f1f1bf905987c172299eb82f4a1f0f5682ee8 (diff)
lok: vcl: introduce set_cursor_data method
The ScEditWindow requires to assign a cursor, so the child widget can send cursor invalidation to client side. Change-Id: I429d484a311f217f2419e38d50f8d9a422640221 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130446 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136829 Tested-by: Jenkins Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/pagedlg/tphfedit.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx
index c71c67b0842b..bf256e8a0016 100644
--- a/sc/source/ui/pagedlg/tphfedit.cxx
+++ b/sc/source/ui/pagedlg/tphfedit.cxx
@@ -107,6 +107,8 @@ void ScEditWindow::SetDrawingArea(weld::DrawingArea* pDrawingArea)
tmpAcc->InitAcc(nullptr, m_xEditView.get(),
sName, pDrawingArea->get_tooltip_text());
+
+ SetCursor(m_xEditView->GetCursor());
}
ScEditWindow::~ScEditWindow()