Kaydet (Commit) 56020e09 authored tarafından Zolnai Tamás's avatar Zolnai Tamás

Be precise here, maximum value means it is still allowed to have

Change-Id: I90c559c59b307aac6f7adac49ea38b0d9b68ad58
üst dbdacc73
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment