[Libreoffice-commits] core.git: chart2/source

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Jul 13 11:20:29 PDT 2015


 chart2/source/controller/main/ChartController.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit f90307a9372579b15b837dc83d959b394c6a0537
Author: Markus Mohrhard <markus.mohrhard at 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 <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at 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
     {


More information about the Libreoffice-commits mailing list