diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-08-17 18:48:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-18 10:41:34 +0200 |
commit | 392f19c957b55de1ce834cb465f51f27c2c7cf60 (patch) | |
tree | 20ffca6114a023bd2114436323e1c640c25b6ba3 /chart2 | |
parent | 2665fe320363d03559cd29e75b78077b4a78e91f (diff) |
improve SvxShapeCollection::getByIndex
Change-Id: I4cca7c0b6344241256d038902069a20ece314358
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120618
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/model/main/ChartModel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index ab846502f29f..9960f84c00b1 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -234,7 +234,7 @@ uno::Reference< frame::XController > ChartModel::impl_getCurrentController() // get the first controller of this model if( m_aControllers.getLength() ) { - uno::Reference<uno::XInterface> xI = m_aControllers.getElements()[0]; + uno::Reference<uno::XInterface> xI = m_aControllers.getInterface(0); return uno::Reference<frame::XController>( xI, uno::UNO_QUERY ); } |