From 7174403b03a7effe8bedf78368c09840b4fdf7a9 Mon Sep 17 00:00:00 2001 From: Beeram_12 Date: Thu, 14 Mar 2024 01:37:18 +0530 Subject: 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 Reviewed-by: Ilmari Lauhakangas --- filter/source/svg/svgexport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit