diff options
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()); |