diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2022-06-14 16:59:32 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2022-06-29 12:42:36 +0200 |
commit | 7fc989c564accbc1678628c9bda988ad06426105 (patch) | |
tree | 110dc3e4097150b9619557862f7a6bcc21a93ff3 | |
parent | c09eb0f74c0a110e4a4cfc4783b59883aad30475 (diff) |
jsdialog: formulabar: send also paragraph number for multiline formula
Change-Id: Ia146be83f0ac6f3fbc94d5a904b8067ac8b2a8d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135833
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Mert Tumer <mert.tumer@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136596
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
-rw-r--r-- | sc/source/ui/app/inputhdl.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index 77e2342e6955..5cae17a057df 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -1794,7 +1794,8 @@ void ScInputHandler::LOKSendFormulabarUpdate(const SfxViewShell* pActiveViewSh, const ESelection& rSelection) { OUString aSelection = - OUString::number(rSelection.nStartPos) + ";" + OUString::number(rSelection.nEndPos); + OUString::number(rSelection.nStartPos) + ";" + OUString::number(rSelection.nEndPos) + ";" + + OUString::number(rSelection.nStartPara) + ";" + OUString::number(rSelection.nEndPara); std::unique_ptr<jsdialog::ActionDataMap> pData = std::make_unique<jsdialog::ActionDataMap>(); (*pData)["action_type"] = "setText"; |