summaryrefslogtreecommitdiff
path: root/include/svtools/grfmgr.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-29 14:17:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-29 15:24:27 +0100
commit62b0eaf37c08dd27244e77b8bc90c691b000ebd6 (patch)
tree56f71e65b519cc674667bcc2dc7361e024067c7c /include/svtools/grfmgr.hxx
parentb25871da62facc20387ebfa2b908422578ca8ce9 (diff)
Related: fdo#50697 reset the cache timeout on GetGraphic
so the graphic gets swapped out Xms after the last use and not Xms after initial creation regardless of if it got used a moment earlier. Change-Id: I1458f307d090ecd8d8d031b545f23e78bf1bcb67
Diffstat (limited to 'include/svtools/grfmgr.hxx')
-rw-r--r--include/svtools/grfmgr.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index 3e1423ac6b3b..251ee6d43457 100644
--- a/include/svtools/grfmgr.hxx
+++ b/include/svtools/grfmgr.hxx
@@ -299,6 +299,8 @@ private:
DECL_LINK( ImplAutoSwapOutHdl, void* );
+ void SVT_DLLPRIVATE ResetCacheTimeOut();
+
protected:
virtual void GraphicManagerDestroyed();