chart2/source/controller/main/ChartController.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 37843706156085d7cc456dfa47306cd5cbfa3ff3 Author: Bjoern Michaelsen <[email protected]> Date: Fri Mar 24 14:46:46 2017 +0100 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 <[email protected]> Tested-by: Björn Michaelsen <[email protected]> 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()
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
