chart2/source/controller/main/ChartController.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit f90307a9372579b15b837dc83d959b394c6a0537 Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Mon Jul 13 19:43:59 2015 +0200 disable that code for now Change-Id: I9f65babd0314498145746c452180ccf4fab64720 Reviewed-on: https://gerrit.libreoffice.org/17020 Reviewed-by: Michael Stahl <mst...@redhat.com> Tested-by: Michael Stahl <mst...@redhat.com> diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index d548ba3..d884262 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -376,9 +376,11 @@ void SAL_CALL ChartController::attachFrame( mpSelectionChangeHandler->Connect(); + /* uno::Reference<ui::XSidebar> xSidebar = getSidebarFromModel(getModel()); sfx2::sidebar::SidebarController* pSidebar = dynamic_cast<sfx2::sidebar::SidebarController*>(xSidebar.get()); sfx2::sidebar::SidebarController::registerSidebarForFrame(pSidebar, this); + */ if(m_xFrame.is()) //what happens, if we do have a Frame already?? { @@ -747,12 +749,14 @@ void SAL_CALL ChartController::dispose() { mpSelectionChangeHandler->Disconnect(); + /* if (getModel().is()) { uno::Reference<ui::XSidebar> xSidebar = getSidebarFromModel(getModel()); sfx2::sidebar::SidebarController* pSidebar = dynamic_cast<sfx2::sidebar::SidebarController*>(xSidebar.get()); sfx2::sidebar::SidebarController::unregisterSidebarForFrame(pSidebar, this); } + */ try { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits