chart2/source/view/main/VDataSeries.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ddd5017410f4ec2f4860a27f4946e05458686afd
Author:     Sujatro Bhadra <sujatrobha...@gmail.com>
AuthorDate: Fri Mar 8 20:14:36 2024 +0530
Commit:     Hossein <hoss...@libreoffice.org>
CommitDate: Sat Mar 9 12:27:57 2024 +0100

    tdf#158237 Use C++20 contains() instead of find() and end()
    
    Change-Id: I93e873bd2396c1b95f120ee11478c0cd3a309c5c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164580
    Tested-by: Hossein <hoss...@libreoffice.org>
    Reviewed-by: Hossein <hoss...@libreoffice.org>

diff --git a/chart2/source/view/main/VDataSeries.cxx 
b/chart2/source/view/main/VDataSeries.cxx
index b6605942e338..0462effd8a6b 100644
--- a/chart2/source/view/main/VDataSeries.cxx
+++ b/chart2/source/view/main/VDataSeries.cxx
@@ -1148,7 +1148,7 @@ double VDataSeries::getValueByProperty( sal_Int32 nIndex, 
const OUString& rPropN
 
 bool VDataSeries::hasPropertyMapping(const OUString& rPropName ) const
 {
-    return m_PropertyMap.find(rPropName) != m_PropertyMap.end();
+    return m_PropertyMap.contains(rPropName);
 }
 
 } //namespace chart

Reply via email to