summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-10-24 14:12:12 +0200
committerAndras Timar <andras.timar@collabora.com>2016-11-21 10:24:35 +0000
commit4e29dfdd4f95101a1ceff36f735bb0d2eef4d919 (patch)
tree86280fe437bb22982c0b294814c3fb7443508841 /include
parentbe2de90a0f32fb6054691cdba4ef533f236a1072 (diff)
tdf#103334 - EDITING: Undo on bullet point style
I have checked the normal model and the editing model after UNDO, and all seems to be well, this is purely a rendering/lack-of-invalidation issue. The extra invalidation I add here is restricted to the UNDO case to prevent tripping up a LOK unit test (SdTiledRenderingTest::testCursorViews). I confess to not having followed the invalidation logic all the way to see why exactly it makes the bug go away. Reviewed-on: https://gerrit.libreoffice.org/30225 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit ee33745ced5ae12f9ae7735fac16a7298ccae474) Change-Id: I34f7d84526462665b1ec09aba966c98cd4e8795f Reviewed-on: https://gerrit.libreoffice.org/30425 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/editeng.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx
index e5b5e9465b66..382d3d40a080 100644
--- a/include/editeng/editeng.hxx
+++ b/include/editeng/editeng.hxx
@@ -599,7 +599,7 @@ public:
const ViewsType& GetEditViews() const;
void SetUndoMode(bool b);
- void FormatAndUpdate(EditView* pCurView = nullptr);
+ void FormatAndUpdate(EditView* pCurView = nullptr, bool bCalledFromUndo = false);
void Undo(EditView* pView);
void Redo(EditView* pView);