diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 12:53:43 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 20:22:34 +0200 |
commit | 2a6f30194afb745df7412b95b53f8165b237da71 (patch) | |
tree | 7d7e99066931addf8bd3908f1c8fb7c47b38c4ac /sd/source/ui/unoidl/unopage.cxx | |
parent | f23f9d38db7e0b586130af88c7424cc3d85bc2d2 (diff) |
loplugin:sequenceloop in sd
Change-Id: Ibd809c8e48cd08123194071bf6f179a836f84cde
Reviewed-on: https://gerrit.libreoffice.org/77525
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/unoidl/unopage.cxx')
-rw-r--r-- | sd/source/ui/unoidl/unopage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 97b8dc05c8cf..6e7bca18d24f 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -2459,7 +2459,7 @@ void SdDrawPage::setBackground( const Any& rValue ) Reference< beans::XPropertySet > xDestSet( static_cast<beans::XPropertySet*>(pBackground) ); Reference< beans::XPropertySetInfo > xDestSetInfo( xDestSet->getPropertySetInfo() ); - Sequence< beans::Property > aProperties( xDestSetInfo->getProperties() ); + const Sequence< beans::Property > aProperties( xDestSetInfo->getProperties() ); for( const beans::Property& rProp : aProperties ) { @@ -2827,7 +2827,7 @@ void SdMasterPage::setBackground( const Any& rValue ) Reference< beans::XPropertySet > xDestSet( static_cast<beans::XPropertySet*>(pBackground) ); Reference< beans::XPropertySetInfo > xDestSetInfo( xDestSet->getPropertySetInfo(), UNO_SET_THROW ); - uno::Sequence< beans::Property> aProperties( xDestSetInfo->getProperties() ); + const uno::Sequence< beans::Property> aProperties( xDestSetInfo->getProperties() ); for( const beans::Property& rProp : aProperties ) { |