diff options
author | Sujatro Bhadra <sujatrobhadra@gmail.com> | 2024-03-08 20:14:36 +0530 |
---|---|---|
committer | Hossein <hossein@libreoffice.org> | 2024-03-09 12:27:57 +0100 |
commit | ddd5017410f4ec2f4860a27f4946e05458686afd (patch) | |
tree | 97dc34910de3e24bce4b89f233f9030c1b2f2956 | |
parent | d48e4d3e911422f54f2071362af103b93a14bebb (diff) |
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 <hossein@libreoffice.org>
Reviewed-by: Hossein <hossein@libreoffice.org>
-rw-r--r-- | chart2/source/view/main/VDataSeries.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |