summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-16 15:43:35 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-17 10:28:09 +0000
commitce66911720b3245b21fb14bb83619c42610e5ac6 (patch)
tree5218fadfce07d451f3c5d514d9068bfe8a9eeb16 /cui
parentloplugin:constantparam in svl (diff)
downloadcore-ce66911720b3245b21fb14bb83619c42610e5ac6.tar.gz
core-ce66911720b3245b21fb14bb83619c42610e5ac6.zip
loplugin:constantparam in svtools
Change-Id: I1a3c4a36e29a6712c589ffd3aaada593880d978d Reviewed-on: https://gerrit.libreoffice.org/23304 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optmemory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optmemory.cxx b/cui/source/options/optmemory.cxx
index 344a66cefd7c..0ca6699ed953 100644
--- a/cui/source/options/optmemory.cxx
+++ b/cui/source/options/optmemory.cxx
@@ -190,7 +190,7 @@ bool OfaMemoryOptionsPage::FillItemSet( SfxItemSet* rSet )
GraphicManager& rGrfMgr = aDummyObject.GetGraphicManager();
rGrfMgr.SetMaxCacheSize(totalCacheSize);
- rGrfMgr.SetMaxObjCacheSize(std::min(totalCacheSize, objectCacheSize), true);
+ rGrfMgr.SetMaxObjCacheSize(std::min(totalCacheSize, objectCacheSize));
rGrfMgr.SetCacheTimeout(objectReleaseTime);
// OLECache