summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/view.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 0cc5a385d149..e52e7eaa7cc1 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -2391,11 +2391,11 @@ void SmViewShell::SendCaretToLOK() const
if (const auto& payload = getLOKPayload(LOK_CALLBACK_INVALIDATE_VISIBLE_CURSOR, nViewId))
{
libreOfficeKitViewCallbackWithViewId(LOK_CALLBACK_INVALIDATE_VISIBLE_CURSOR,
- payload->getStr(), nViewId);
+ *payload, nViewId);
}
if (const auto& payload = getLOKPayload(LOK_CALLBACK_TEXT_SELECTION, nViewId))
{
- libreOfficeKitViewCallback(LOK_CALLBACK_TEXT_SELECTION, payload->getStr());
+ libreOfficeKitViewCallback(LOK_CALLBACK_TEXT_SELECTION, *payload);
}
}