diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-06 18:51:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-07 12:06:29 +0200 |
commit | 73c9ef661d9ef6237d3fd3c259fd040a545b44cf (patch) | |
tree | 47e361e103b56e695f679410b504f009d71a1542 /editeng/source | |
parent | 786d4d32e139d9cab4a6b5e4a59c1cd64b4d1da9 (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/editeng/editdoc.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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 ) { |