vcl/source/app/svmain.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 8accfa30343195b5d7cfd111301677a6a9b6a21b
Author:     Mike Kaganski <[email protected]>
AuthorDate: Fri Jan 7 07:27:10 2022 +0100
Commit:     Mike Kaganski <[email protected]>
CommitDate: Fri Jan 7 14:17:58 2022 +0100

    Use clear() instead of remove_if
    
    Change-Id: I1d312798b66ae4ef4be1ac7c838d2f0e18691f80
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128069
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <[email protected]>

diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 30169e7428c1..749b5a97f098 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -583,8 +583,7 @@ void DeInitVCL()
 
     pSVData->maGDIData.mxScreenFontList.reset();
     pSVData->maGDIData.mxScreenFontCache.reset();
-    pSVData->maGDIData.maScaleCache.remove_if([](const 
lru_scale_cache::key_value_pair_t&)
-                                                { return true; });
+    pSVData->maGDIData.maScaleCache.clear();
 
     pSVData->maGDIData.maThemeDrawCommandsCache.clear();
     pSVData->maGDIData.maThemeImageCache.clear();

Reply via email to