summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/AreaWrapper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-01-15 17:21:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-01-15 20:32:21 +0100
commite1802876e0773d57631f6a8f773fafaf4cfc7926 (patch)
tree54662d6b64a57f69b12b338d682b29a17a4f853b /chart2/source/controller/chartapiwrapper/AreaWrapper.cxx
parentcec7cce3798eb0961496d0f896d782aeb2fc0a5f (diff)
use more concrete types in chart2, ChartModel
Change-Id: Iecbc92aa096ede1845936faa708d1a9e8747b658 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128467 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/AreaWrapper.cxx')
-rw-r--r--chart2/source/controller/chartapiwrapper/AreaWrapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/chartapiwrapper/AreaWrapper.cxx b/chart2/source/controller/chartapiwrapper/AreaWrapper.cxx
index 8920b1eda076..7cbef7d67e2c 100644
--- a/chart2/source/controller/chartapiwrapper/AreaWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/AreaWrapper.cxx
@@ -132,7 +132,7 @@ void SAL_CALL AreaWrapper::removeEventListener(
// WrappedPropertySet
Reference< beans::XPropertySet > AreaWrapper::getInnerPropertySet()
{
- Reference< chart2::XChartDocument > xChartDoc( m_spChart2ModelContact->getChart2Document() );
+ rtl::Reference< ChartModel > xChartDoc( m_spChart2ModelContact->getDocumentModel() );
if( xChartDoc.is() )
return xChartDoc->getPageBackground();
OSL_FAIL("AreaWrapper::getInnerPropertySet() is NULL");