filter/source/config/cache/filtercache.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3d432fde8d1dc5c923a9106910b7b544401bd654
Author:     Simon Chenery <simon_chen...@yahoo.com>
AuthorDate: Sat Aug 16 17:28:50 2025 +0200
Commit:     David Gilbert <freedesk...@treblig.org>
CommitDate: Tue Aug 26 01:16:58 2025 +0200

    tdf#158237 Use C++20 contains() instead of find(), end() in filtercache.cxx
    
    Change-Id: Ia8fd745ad2b27205ffefec5d36f34e33e053ff7e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189795
    Tested-by: Jenkins
    Reviewed-by: David Gilbert <freedesk...@treblig.org>

diff --git a/filter/source/config/cache/filtercache.cxx 
b/filter/source/config/cache/filtercache.cxx
index 95f43c63a68d..18f503fb46fb 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -1251,7 +1251,7 @@ FilterCache::EItemFlushState 
FilterCache::impl_specifyFlushOperation(const css::
                                                                      const 
OUString&                                    sItem)
 {
     bool bExistsInConfigLayer = xSet->hasByName(sItem);
-    bool bExistsInMemory      = (rList.find(sItem) != rList.end());
+    bool bExistsInMemory      = rList.contains(sItem);
 
     EItemFlushState eState( E_ITEM_UNCHANGED );
 

Reply via email to