From 56020e09569ce078c108576b24efb66735cfc7c4 Mon Sep 17 00:00:00 2001 From: Zolnai Tamás Date: Tue, 18 Nov 2014 17:09:06 +0100 Subject: Be precise here, maximum value means it is still allowed to have Change-Id: I90c559c59b307aac6f7adac49ea38b0d9b68ad58 --- svtools/source/graphic/grfmgr2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svtools/source') 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()); -- cgit v1.2.3