From 0fa827dbb2147d1d3850b2181eb6ab6a02a04500 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Sat, 27 Jan 2024 15:42:54 +0600 Subject: Drop std::as_const from css::uno::Sequence iterations Obsoleted by commit 2484de6728bd11bb7949003d112f1ece2223c7a1 (Remove non-const Sequence::begin()/end() in internal code, 2021-10-15) and commit fb3c04bd1930eedacd406874e1a285d62bbf27d9 (Drop non-const Sequence::operator[] in internal code, 2021-11-05). Change-Id: Idbafef5d34c0d4771cbbf75b9db9712e504164cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162640 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- oox/source/helper/propertymap.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'oox/source/helper') diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx index 9b2bd48e5715..d5a89e6f2388 100644 --- a/oox/source/helper/propertymap.cxx +++ b/oox/source/helper/propertymap.cxx @@ -391,7 +391,7 @@ static void lclDumpAnyValue( const Any& value) Sequence< PropertyValue > aBulletPropSeq; fprintf (stderr, "level %d\n", k); if (xNumRule->getByIndex (k) >>= aBulletPropSeq) { - for (const PropertyValue& rProp : std::as_const(aBulletPropSeq)) { + for (const PropertyValue& rProp : aBulletPropSeq) { fprintf(stderr, "%46s = ", USS (rProp.Name)); lclDumpAnyValue (rProp.Value); } @@ -820,7 +820,7 @@ static const char* lclDumpAnyValueCode( const Any& value, int level) Sequence< PropertyValue > aBulletPropSeq; fprintf (stderr, "level %d\n", k); if (xNumRule->getByIndex (k) >>= aBulletPropSeq) { - for (const PropertyValue& rProp : std::as_const(aBulletPropSeq)) { + for (const PropertyValue& rProp : aBulletPropSeq) { fprintf(stderr, "%46s = ", USS (rProp.Name)); lclDumpAnyValue (rProp.Value); } -- cgit