diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-27 08:33:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-27 09:16:24 +0100 |
commit | 496ee4fcbe697552622901dfb72775d07496bdb0 (patch) | |
tree | 99cf3f93cdbca6087fcc1aceef850760f5ed1896 /svtools/source | |
parent | a7ef614ff261a90790041bc29e8038d1813e01e6 (diff) |
config-less fallback value
Change-Id: Id2ee43ff95b6d28252f58e4930b81faf8b3b4b7f
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/graphic/grfmgr.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx index bac2be74e966..54e54f569991 100644 --- a/svtools/source/graphic/grfmgr.cxx +++ b/svtools/source/graphic/grfmgr.cxx @@ -436,6 +436,9 @@ void GraphicObject::SetSwapStreamHdl() static sal_uInt32 GetCacheTimeInMs() { + if (utl::ConfigManager::IsAvoidConfig()) + return 20000; + const sal_uInt32 nSeconds = officecfg::Office::Common::Cache::GraphicManager::ObjectReleaseTime::get( comphelper::getProcessComponentContext()); |