diff options
Diffstat (limited to 'chart2/source/controller/uitest/uiobject.cxx')
-rw-r--r-- | chart2/source/controller/uitest/uiobject.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/source/controller/uitest/uiobject.cxx b/chart2/source/controller/uitest/uiobject.cxx index 45915a62e554..ef4f4d7112c8 100644 --- a/chart2/source/controller/uitest/uiobject.cxx +++ b/chart2/source/controller/uitest/uiobject.cxx @@ -12,6 +12,7 @@ #include <ChartWindow.hxx> #include <ChartController.hxx> +#include <ChartModel.hxx> #include <ObjectHierarchy.hxx> #include <chartview/ExplicitValueProvider.hxx> #include <com/sun/star/chart2/XChartDocument.hpp> @@ -172,7 +173,7 @@ std::set<OUString> ChartWindowUIObject::get_children() const if (!pController) return aChildren; - css::uno::Reference< css::chart2::XChartDocument > xChartDoc( pController->getModel(), css::uno::UNO_QUERY ); + rtl::Reference<::chart::ChartModel> xChartDoc( pController->getChartModel() ); css::uno::Reference<css::uno::XInterface> xChartView = pController->getChartView(); chart::ExplicitValueProvider* pValueProvider = comphelper::getFromUnoTunnel<chart::ExplicitValueProvider>( xChartView ); |