diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-16 15:43:35 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-17 10:28:09 +0000 |
commit | ce66911720b3245b21fb14bb83619c42610e5ac6 (patch) | |
tree | 5218fadfce07d451f3c5d514d9068bfe8a9eeb16 /svtools/source/graphic | |
parent | 07da25064f75cdf7163669f9bf860a9ee2f8b33c (diff) |
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 'svtools/source/graphic')
-rw-r--r-- | svtools/source/graphic/grfmgr2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx index b71c56bff751..b0f0ea0384ef 100644 --- a/svtools/source/graphic/grfmgr2.cxx +++ b/svtools/source/graphic/grfmgr2.cxx @@ -65,9 +65,9 @@ sal_uLong GraphicManager::GetMaxCacheSize() const return mpCache->GetMaxDisplayCacheSize(); } -void GraphicManager::SetMaxObjCacheSize( sal_uLong nNewMaxObjSize, bool bDestroyGreaterCached ) +void GraphicManager::SetMaxObjCacheSize( sal_uLong nNewMaxObjSize ) { - mpCache->SetMaxObjDisplayCacheSize( nNewMaxObjSize, bDestroyGreaterCached ); + mpCache->SetMaxObjDisplayCacheSize( nNewMaxObjSize, true/*bDestroyGreaterCached*/ ); } void GraphicManager::SetCacheTimeout( sal_uLong nTimeoutSeconds ) |