summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-05-20 00:59:29 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-05-21 16:35:35 -0400
commit758bdf455ac443e5c44515fa4a59cc9db75bc223 (patch)
tree2522c09cf6065812cfb675d1045447b056a0d67c /sc/inc
parente1e8475b01d0f35abb7ce71ffca7d1f7a00921c2 (diff)
cp#1000072: Stop the external doc shell timer while mass-updating.
To prevent collision with the timer wanting to purge the doc cache while updating external links. Also, show progress bar, and make the timer interval and the document cache life span longer. Change-Id: I325984c8fa68425a2621cf8f9c016463291afc89
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/externalrefmgr.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx
index 1c7fcc1d4adf..bbb3094eae2a 100644
--- a/sc/inc/externalrefmgr.hxx
+++ b/sc/inc/externalrefmgr.hxx
@@ -689,6 +689,8 @@ public:
void insertRefCell(sal_uInt16 nFileId, const ScAddress& rCell);
+ void enableDocTimer( bool bEnable );
+
private:
ScExternalRefManager();
ScExternalRefManager(const ScExternalRefManager&);
@@ -822,6 +824,8 @@ private:
*/
bool mbUserInteractionEnabled:1;
+ bool mbDocTimerEnabled:1;
+
AutoTimer maSrcDocTimer;
DECL_LINK(TimeOutHdl, AutoTimer*);
};