diff options
author | Noel Grandin <noel@peralex.com> | 2016-10-24 14:12:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-31 06:04:58 +0000 |
commit | ee33745ced5ae12f9ae7735fac16a7298ccae474 (patch) | |
tree | 086da25f3d1a629e57956931d998edd0e42d761c /include/editeng | |
parent | 49909dca5856aada5340d44f03a271d38e038039 (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.
Change-Id: I34f7d84526462665b1ec09aba966c98cd4e8795f
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>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/editeng.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index 873b344b3d9a..d8be7c663eed 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -600,7 +600,7 @@ public: const ViewsType& GetEditViews() const; void SetUndoMode(bool b); - void FormatAndUpdate(EditView* pCurView); + void FormatAndUpdate(EditView* pCurView, bool bCalledFromUndo = false); void Undo(EditView* pView); void Redo(EditView* pView); |