summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-11-26 08:34:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-27 16:49:02 +0100
commit78400d8f0b3906f9835b0cbb70a907625f213ebf (patch)
tree8e76fb9046fc6cf2f3ae4a11ff23664d6d8d971a /include
parent8bb1e1e1beee149af21b9a28ede62c987c85bd9a (diff)
tdf#108642 rate-limit progress painting
this takes the load time from 9s to 6s for me Change-Id: I1a492b33106e43b1405238fe3a120a6447649f69 Reviewed-on: https://gerrit.libreoffice.org/83848 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 28ea418a3f1905d8a4a8e5813e8ed737960c62d2) Reviewed-on: https://gerrit.libreoffice.org/83885
Diffstat (limited to 'include')
-rw-r--r--include/vcl/status.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/status.hxx b/include/vcl/status.hxx
index c67f54bfd792..169dfa5e7b15 100644
--- a/include/vcl/status.hxx
+++ b/include/vcl/status.hxx
@@ -79,6 +79,7 @@ private:
sal_uInt16 mnCurItemId;
sal_uInt16 mnPercent;
sal_uInt16 mnPercentCount;
+ sal_uInt32 mnLastProgressPaint_ms;
bool mbFormat;
bool mbProgressMode;
bool mbInUserDraw;