diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-07-31 14:31:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-31 19:16:06 +0200 |
commit | 9ae4f8b5bf70a693ffb60ceac4f9625cf15b1181 (patch) | |
tree | c8b0e773f467325595bcc7d8a40c744ab6768430 /chart2 | |
parent | ca7dab5d96e73b7b4b045e2460e0b2ee150757db (diff) |
getArray->getConstArray
Change-Id: I951dd4a02c9ead98e7eb13ae2995ba2e1e57b38a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119740
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/main/ChartView.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 85caad7560e2..4d393fde9725 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -2714,7 +2714,7 @@ void SAL_CALL ChartView::setPropertyValue( const OUString& rPropertyName throw lang::IllegalArgumentException( "Property 'ZoomFactors' requires value of type Sequence< PropertyValue >", nullptr, 0 ); sal_Int32 nFilterArgs = aZoomFactors.getLength(); - beans::PropertyValue* pDataValues = aZoomFactors.getArray(); + const beans::PropertyValue* pDataValues = aZoomFactors.getConstArray(); while( nFilterArgs-- ) { if ( pDataValues->Name == "ScaleXNumerator" ) |