diff options
-rw-r--r-- | svtools/source/graphic/grfmgr2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx index 19ab956f499b..3b6a738bde6b 100644 --- a/svtools/source/graphic/grfmgr2.cxx +++ b/svtools/source/graphic/grfmgr2.cxx @@ -210,7 +210,7 @@ void GraphicManager::ImplCheckSizeOfSwappedInGraphics(const GraphicObject* pGrap // calc max allowed cache size const sal_uLong nMaxCacheSize(::std::min(GetMaxCacheSize(), aMaxSize32Bit)); - if(mnUsedSize >= nMaxCacheSize) + if(mnUsedSize > nMaxCacheSize) { // Copy the object list for now, because maObjList can change in the meantime unexpectedly. std::vector< GraphicObject* > aCandidates(maObjList.begin(), maObjList.end()); |