summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-11-18 17:09:06 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-11-18 17:39:15 +0100
commit56020e09569ce078c108576b24efb66735cfc7c4 (patch)
tree8f75673f3ddb8d10c2e5aad74bb2e2925db3ee13 /svtools
parentdbdacc73ae154237314d599194cc686bd738a9bf (diff)
Be precise here, maximum value means it is still allowed to have
Change-Id: I90c559c59b307aac6f7adac49ea38b0d9b68ad58
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/graphic/grfmgr2.cxx2
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());