summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorBeeram_12 <pranithreddy16.beeram@gmail.com>2024-03-14 01:37:18 +0530
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-03-23 20:16:23 +0100
commit7174403b03a7effe8bedf78368c09840b4fdf7a9 (patch)
treef7851a204deee791b97f7e1416240f2e99a80bc3 /filter
parentf0a9ead35c0da606d7ccab2f0c96e103a3b6be06 (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>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/svgexport.cxx2
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();