diff options
author | Bayram Çiçek <bayram.cicek@collabora.com> | 2024-11-14 11:14:31 +0300 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-11-14 16:27:52 +0100 |
commit | 02046576573e1547c7cd00cd17faffc87d1ede72 (patch) | |
tree | 4fedee16ba5c8fc7806a4603a0b004bddc0c1aab /sc | |
parent | 7dfe6cc8845413ef8673be3e1a761015fd66cc75 (diff) |
sc: autofill: no need to send deleted cell addresses
- with LOK_CALLBACK_TOOLTIP. we already send them with
SendReferenceMarks (https://gerrit.libreoffice.org/c/core/+/176557)
- also avoid warning "unknown tooltip type - CanvasTileLayer.js" on the
console
Signed-off-by: Bayram Çiçek <bayram.cicek@collabora.com>
Change-Id: Id6e6d2c20c7b874d8d57324ed4dd3984a56ac398
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176565
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/tabview4.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sc/source/ui/view/tabview4.cxx b/sc/source/ui/view/tabview4.cxx index 351a8a7320ed..859be6bb30d5 100644 --- a/sc/source/ui/view/tabview4.cxx +++ b/sc/source/ui/view/tabview4.cxx @@ -295,19 +295,6 @@ void ScTabView::UpdateRef( SCCOL nCurX, SCROW nCurY, SCTAB nCurZ ) if (ScTabViewShell* pLOKViewShell = comphelper::LibreOfficeKit::isActive() ? aViewData.GetViewShell() : nullptr) { - // autofill: collect the cell addresses that will be deleted - OUString sDeleteCellAddress - = OUString::Concat(OUString::number(aDelRange.aStart.Row()) + " " - + OUString::number(aDelRange.aStart.Col()) + " " - + OUString::number(aDelRange.aEnd.Row()) + " " - + OUString::number(aDelRange.aEnd.Col())); - - tools::JsonWriter writer; - writer.put("type", "autofilldeletecells"); - writer.put("delrange", sDeleteCellAddress); - OString sPayloadString = writer.finishAndGetAsOString(); - pLOKViewShell->libreOfficeKitViewCallback(LOK_CALLBACK_TOOLTIP, sPayloadString); - // set cell addresses for deletion by autofill tools::Long nX1 = aDelRange.aStart.Col(); tools::Long nX2 = aDelRange.aEnd.Col(); |