summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-13 10:40:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-13 14:48:24 +0200
commit32b09faca508ae4aac7e100c98a2fe56d3302eef (patch)
treedf4c3f089cd83b361c3f5133344397d9d888e9b5 /chart2
parent013a4f1f5c9ea5fb511568c53a7e76d1b365a65d (diff)
Revert "simplify the vcl<->toolkit connection"
because it introduces a link-time dependency of vcl on toolkit, and toolkit already depends on vcl This reverts commit f7a86c5cdf4323c99d26512bf78de7f7c380667d. Change-Id: Ibdd4f3e8221d70e2abd8fcbda67f85af3ac0396e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115547 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/ChartController.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index 544084306fdf..08b8c65c31f7 100644
--- a/chart2/source/controller/main/ChartController.cxx
+++ b/chart2/source/controller/main/ChartController.cxx
@@ -436,7 +436,7 @@ void SAL_CALL ChartController::attachFrame(
SolarMutexGuard aSolarGuard;
auto pChartWindow = VclPtr<ChartWindow>::Create(this,pParent,pParent?pParent->GetStyle():0);
pChartWindow->SetBackground();//no Background
- m_xViewWindow = pChartWindow->GetComponentInterfaceAs<css::awt::XWindow>();
+ m_xViewWindow.set( pChartWindow->GetComponentInterface(), uno::UNO_QUERY );
pChartWindow->Show();
m_apDropTargetHelper.reset(
new ChartDropTargetHelper( pChartWindow->GetDropTarget(),