diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2017-03-24 14:46:46 +0100 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2017-03-24 15:29:55 +0000 |
commit | 37843706156085d7cc456dfa47306cd5cbfa3ff3 (patch) | |
tree | 7dd8328ae9c25c37d6b400bfa99a6532e716287a /chart2 | |
parent | 96208fc5983e459a854c8b4a3c3334e4a8904f56 (diff) |
fix for regression from 522e9c65: dont make all charts disappear
Change-Id: Ica8a8c8cfd1f0743c4ad9421f3cac9aa92645838
Reviewed-on: https://gerrit.libreoffice.org/35650
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartController.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index 542b061ff086..0f879f60259e 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -1453,7 +1453,7 @@ VclPtr<ChartWindow> ChartController::GetChartWindow() DBG_TESTSOLARMUTEX(); if(!m_xViewWindow.is()) return nullptr; - return dynamic_cast<ChartWindow*>(m_xViewWindow.get()); + return dynamic_cast<ChartWindow*>(VCLUnoHelper::GetWindow(m_xViewWindow).get()); } bool ChartController::isAdditionalShapeSelected() |