[Libreoffice-commits] core.git: cui/source
himajin100000 (via logerrit)
logerrit at kemper.freedesktop.org
Tue May 26 14:30:31 UTC 2020
cui/source/customize/cfg.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit ce5cd186d44e50985ebe3ff6e3e8b0aa262a6f75
Author: himajin100000 <himajin100000 at gmail.com>
AuthorDate: Tue May 26 11:34:12 2020 +0200
Commit: Mike Kaganski <mike.kaganski at collabora.com>
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 <mike.kaganski at collabora.com>
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;
More information about the Libreoffice-commits
mailing list