filter/source/svg/svgexport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7174403b03a7effe8bedf78368c09840b4fdf7a9 Author: Beeram_12 <pranithreddy16.bee...@gmail.com> AuthorDate: Thu Mar 14 01:37:18 2024 +0530 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Sat Mar 23 20:16:23 2024 +0100 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.lauhakan...@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> 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();