sc/source/ui/view/tabview4.cxx |   13 -------------
 1 file changed, 13 deletions(-)

New commits:
commit 02046576573e1547c7cd00cd17faffc87d1ede72
Author:     Bayram Çiçek <bayram.ci...@collabora.com>
AuthorDate: Thu Nov 14 11:14:31 2024 +0300
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Thu Nov 14 16:27:52 2024 +0100

    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.ci...@collabora.com>
    Change-Id: Id6e6d2c20c7b874d8d57324ed4dd3984a56ac398
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176565
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

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();

Reply via email to