From 7f2d6d8480f06434a1b5bc748ac2f3f80b2e71cb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 16 May 2017 18:23:32 +0200 Subject: Revert "lok: sc: invalidate col/row header on undo row/col operations" This reverts commit 76d47e6f63e11d3509339ade6203757d63582d21, breaks the build. --- sc/source/ui/undo/undoblk.cxx | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'sc/source/ui/undo/undoblk.cxx') diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx index 1c2757c40897..291151d11a6d 100644 --- a/sc/source/ui/undo/undoblk.cxx +++ b/sc/source/ui/undo/undoblk.cxx @@ -23,8 +23,6 @@ #include #include #include -#include -#include #include "undoblk.hxx" #include "undoutil.hxx" @@ -259,19 +257,7 @@ void ScUndoInsertCells::DoChange( const bool bUndo ) } pDocShell->PostDataChanged(); if (pViewShell) - { pViewShell->CellContentChanged(); - - if (comphelper::LibreOfficeKit::isActive()) - { - if (eCmd == INS_INSCOLS_BEFORE || eCmd == INS_INSCOLS_AFTER || eCmd == INS_CELLSRIGHT) - ScTabViewShell::notifyAllViewsHeaderInvalidation("column", pViewShell->GetViewData().GetTabNo()); - - if (eCmd == INS_INSROWS_BEFORE || eCmd == INS_INSROWS_AFTER || eCmd == INS_CELLSDOWN) - ScTabViewShell::notifyAllViewsHeaderInvalidation("row", pViewShell->GetViewData().GetTabNo()); - } - - } } void ScUndoInsertCells::Undo() -- cgit