[Libreoffice-commits] core.git: sc/source
Noel Grandin
noel.grandin at collabora.co.uk
Fri Sep 30 10:35:35 UTC 2016
sc/source/ui/docshell/docsh3.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 1c4d81fa3a91f57e318dd74ca0f601d6edca374c
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Fri Sep 30 12:26:14 2016 +0200
fix perf bug (I think)
In commit 93160bcb2dce54bbccb5935cd0a71b52ad5e5461 "convert PAINT
constants to typed_flags", I removed two lines of code (based on faulty
analyis), which appears to have caused a performance regression in the
"ILmr" test
Bug noticed and tracked down by Jochen Nitschke, I'm just testing and
committing.
Change-Id: I1c7dfc305765f7b20458421680f776a4a9324281
diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index 6785133..880b2fb 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -126,6 +126,8 @@ void ScDocShell::PostPaint( const ScRangeList& rRanges, PaintPartFlags nPart, sa
}
nPart &= PaintPartFlags::Extras; // for broadcasting
+ if (nPart == PaintPartFlags::NONE)
+ continue;
}
if (nExtFlags & SC_PF_LINES) // Platz fuer Linien beruecksichtigen
More information about the Libreoffice-commits
mailing list