editeng/source/editeng/editdoc.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 73c9ef661d9ef6237d3fd3c259fd040a545b44cf Author: Noel Grandin <[email protected]> AuthorDate: Tue Jul 6 18:51:38 2021 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Wed Jul 7 12:06:29 2021 +0200 tdf#132740 don't broadcast if modified status has not changed take 10% of the time off Change-Id: I75c8d5e1297de342df711d15260073db59946116 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118531 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx index 99a7e22fbdc9..adaff884bcae 100644 --- a/editeng/source/editeng/editdoc.cxx +++ b/editeng/source/editeng/editdoc.cxx @@ -2199,6 +2199,8 @@ void EditDoc::ClearSpellErrors() void EditDoc::SetModified( bool b ) { + if (bModified == b) + return; bModified = b; if ( bModified ) { _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
