diff options
Diffstat (limited to 'reportdesign')
4 files changed, 5 insertions, 5 deletions
diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx index dcb0fb6eb1d4..1396c93ebb2e 100644 --- a/reportdesign/source/core/api/ReportDefinition.cxx +++ b/reportdesign/source/core/api/ReportDefinition.cxx @@ -2475,7 +2475,7 @@ OUString OReportDefinition::getDocumentBaseURL() const ::osl::MutexGuard aGuard(m_aMutex); ::connectivity::checkDisposed(ReportDefinitionBase::rBHelper.bDisposed); - for (beans::PropertyValue const& it : m_pImpl->m_aArgs) + for (beans::PropertyValue const& it : std::as_const(m_pImpl->m_aArgs)) { if (it.Name == "DocumentBaseURL") return it.Value.get<OUString>(); diff --git a/reportdesign/source/ui/inspection/GeometryHandler.cxx b/reportdesign/source/ui/inspection/GeometryHandler.cxx index f6135f5307f2..37631941ce21 100644 --- a/reportdesign/source/ui/inspection/GeometryHandler.cxx +++ b/reportdesign/source/ui/inspection/GeometryHandler.cxx @@ -803,11 +803,11 @@ inspection::LineDescriptor SAL_CALL GeometryHandler::describePropertyLine(const } else { - for (auto const& it : m_aFieldNames) + for (auto const& it : std::as_const(m_aFieldNames)) { xListControl->appendListEntry(it); } - for (auto const& it : m_aParamNames) + for (auto const& it : std::as_const(m_aParamNames)) { xListControl->appendListEntry(it); } diff --git a/reportdesign/source/ui/inspection/metadata.cxx b/reportdesign/source/ui/inspection/metadata.cxx index db8ac3eb494f..14e4a3088871 100644 --- a/reportdesign/source/ui/inspection/metadata.cxx +++ b/reportdesign/source/ui/inspection/metadata.cxx @@ -226,7 +226,7 @@ namespace rptui void OPropertyInfoService::getExcludeProperties(::std::vector< beans::Property >& _rExcludeProperties,const css::uno::Reference< css::inspection::XPropertyHandler >& _xFormComponentHandler) { - uno::Sequence< beans::Property > aProps = _xFormComponentHandler->getSupportedProperties(); + const uno::Sequence< beans::Property > aProps = _xFormComponentHandler->getSupportedProperties(); static const OUStringLiteral pExcludeProperties[] = { "Enabled", diff --git a/reportdesign/source/ui/report/ViewsWindow.cxx b/reportdesign/source/ui/report/ViewsWindow.cxx index 47afcfe630fe..f81db3a9a4bf 100644 --- a/reportdesign/source/ui/report/ViewsWindow.cxx +++ b/reportdesign/source/ui/report/ViewsWindow.cxx @@ -1227,7 +1227,7 @@ void OViewsWindow::EndDragObj(bool _bControlKeyPressed, const OSectionView* _pSe aNewPos.setY( 0 ); Point aPrevious; - for (beans::NamedValue const & namedVal : aAllreadyCopiedObjects) + for (beans::NamedValue const & namedVal : std::as_const(aAllreadyCopiedObjects)) { uno::Sequence< uno::Reference<report::XReportComponent> > aClones; namedVal.Value >>= aClones; |