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-03-04 13:21:30 +0100
commit1ae63cb4755610f535ad7a1146b77415adb64939 (patch)
tree05cc53396d6d61a64174d397abb36568d0aa6d00 /sc
parent02b34caefc9fbcbdc2db45dba942783d384a5832 (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>
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 15cc5242152a..fed870582dcc 100644
--- a/sc/source/ui/pagedlg/tphfedit.cxx
+++ b/sc/source/ui/pagedlg/tphfedit.cxx
@@ -112,6 +112,8 @@ void ScEditWindow::SetDrawingArea(weld::DrawingArea* pDrawingArea)
pAcc->InitAcc(nullptr, m_xEditView.get(), nullptr,
sName, pDrawingArea->get_tooltip_text());
}
+
+ SetCursor(m_xEditView->GetCursor());
}
ScEditWindow::~ScEditWindow()