summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-25 20:55:10 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-25 20:55:10 +0200
commit5749afcc71438190853267029ee17d636c2cc910 (patch)
tree5eb784e44380a93bd3e4ee98455f4e3f89f72cff /sc
parentafb9c90c0d9013d2a85a3f28ddf6c3495c6be207 (diff)
update the ants only twice per second
This fixes some performance problem when the whole sheet has been selected. Updating the whole paint range 6 times per second seems excessive. Change-Id: Ia4de5d66a8c316b70a0dd7daac00b9f10d7d9dfd
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/overlayobject.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/overlayobject.cxx b/sc/source/ui/view/overlayobject.cxx
index 469e98d387d2..cc688f4301e0 100644
--- a/sc/source/ui/view/overlayobject.cxx
+++ b/sc/source/ui/view/overlayobject.cxx
@@ -32,7 +32,7 @@
using sdr::overlay::OverlayObject;
using sdr::overlay::OverlayManager;
-#define DASH_UPDATE_INTERVAL 180 // in msec
+#define DASH_UPDATE_INTERVAL 500 // in msec
ScOverlayDashedBorder::ScOverlayDashedBorder(const ::basegfx::B2DRange& rRange, const Color& rColor) :
OverlayObject(rColor),