diff options
author | Beeram_12 <pranithreddy16.beeram@gmail.com> | 2024-03-14 01:37:18 +0530 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2024-03-23 20:16:23 +0100 |
commit | 7174403b03a7effe8bedf78368c09840b4fdf7a9 (patch) | |
tree | f7851a204deee791b97f7e1416240f2e99a80bc3 | |
parent | f0a9ead35c0da606d7ccab2f0c96e103a3b6be06 (diff) |
tdf#158237 use c++20 contains() instead of find() and end()
Change-Id: I9bfea186f8bac4619f8b0e3e8a8158cefcbc482e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164792
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
-rw-r--r-- | filter/source/svg/svgexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx index 25a5b66a5753..d2a42321cf02 100644 --- a/filter/source/svg/svgexport.cxx +++ b/filter/source/svg/svgexport.cxx @@ -1526,7 +1526,7 @@ void SVGFilter::implExportTextShapeIndex() for( sal_Int32 i = 0; i < nCount; ++i ) { const Reference< css::drawing::XDrawPage > & xDrawPage = mSelectedPages[i]; - if( mTextShapeIdListMap.find( xDrawPage ) != mTextShapeIdListMap.end() ) + if( mTextShapeIdListMap.contains(xDrawPage) ) { OUString sTextShapeIdList = mTextShapeIdListMap[xDrawPage].trim(); |