diff options
author | Arkadiy Illarionov <qarkai@gmail.com> | 2019-06-19 22:35:40 +0300 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-06-20 07:51:48 +0200 |
commit | 336b9a14f65222936d000551ed9728ab13514479 (patch) | |
tree | 5676697a4bb3fe0b5e57eddcee99400f462cb269 /chart2/source/controller/uitest | |
parent | 9376f65a26240441bf9dd6ae1f69886dc9fa60fa (diff) |
tdf#39593 Remove chart::ExplicitValueProvider::getExplicitValueProvider
Replace with comphelper::getUnoTunnelImplementation.
Change-Id: I8a457dc2aa701957f463b31bd6cc112337999aad
Reviewed-on: https://gerrit.libreoffice.org/74377
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'chart2/source/controller/uitest')
-rw-r--r-- | chart2/source/controller/uitest/uiobject.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chart2/source/controller/uitest/uiobject.cxx b/chart2/source/controller/uitest/uiobject.cxx index 7dd9697ec217..0bc697a4daf7 100644 --- a/chart2/source/controller/uitest/uiobject.cxx +++ b/chart2/source/controller/uitest/uiobject.cxx @@ -16,6 +16,8 @@ #include <chartview/ExplicitValueProvider.hxx> #include <com/sun/star/chart2/XChartDocument.hpp> +#include <comphelper/servicehelper.hxx> + #include <vcl/svapp.hxx> #include <algorithm> @@ -173,7 +175,7 @@ std::set<OUString> ChartWindowUIObject::get_children() const css::uno::Reference< css::chart2::XChartDocument > xChartDoc( pController->getModel(), css::uno::UNO_QUERY ); css::uno::Reference<css::uno::XInterface> xChartView = pController->getChartView(); - chart::ExplicitValueProvider* pValueProvider = chart::ExplicitValueProvider::getExplicitValueProvider( xChartView ); + chart::ExplicitValueProvider* pValueProvider = comphelper::getUnoTunnelImplementation<chart::ExplicitValueProvider>( xChartView ); chart::ObjectHierarchy aHierarchy(xChartDoc, pValueProvider, true); chart::ObjectIdentifier aIdentifier = chart::ObjectHierarchy::getRootNodeOID(); aChildren.insert(aIdentifier.getObjectCID()); |