cui/source/customize/cfg.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit ce5cd186d44e50985ebe3ff6e3e8b0aa262a6f75 Author: himajin100000 <[email protected]> AuthorDate: Tue May 26 11:34:12 2020 +0200 Commit: Mike Kaganski <[email protected]> CommitDate: Tue May 26 16:29:49 2020 +0200 followed the advice from Mike at https://gerrit.libreoffice.org/c/core/+/94687 Change-Id: If961da88f3ecba03416394ab8e8093af1b20f664 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94832 Tested-by: Jenkins Reviewed-by: Mike Kaganski <[email protected]> diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index d63f36d33be2..6b2a83d38dc3 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -105,12 +105,12 @@ void printPropertySet( uno::Reference< beans::XPropertySetInfo > xPropSetInfo = xPropSet->getPropertySetInfo(); - uno::Sequence< beans::Property > aPropDetails = + const uno::Sequence< beans::Property >& aPropDetails = xPropSetInfo->getProperties(); SAL_WARN("cui", "printPropertySet: " << aPropDetails.getLength() << " properties" ); - for ( beans::Property const & aPropDetail : std::as_const(aPropDetails) ) + for ( beans::Property const & aPropDetail : aPropDetails ) { OUString tmp; sal_Int32 ival; @@ -136,7 +136,7 @@ void printProperties( const OUString& prefix, const uno::Sequence< beans::PropertyValue >& aProp ) { - for (PropertyValue const & aPropVal : std::as_const(aProp)) + for (PropertyValue const & aPropVal : aProp) { OUString tmp; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
