summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-07-13 19:43:59 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-13 18:20:05 +0000
commitf90307a9372579b15b837dc83d959b394c6a0537 (patch)
tree8f16d60788f7ff5758d408daa150aab214f93a3b /chart2
parentbaffa3e3768df1d016d79349ed074ba20b34d5c1 (diff)
disable that code for now
Change-Id: I9f65babd0314498145746c452180ccf4fab64720 Reviewed-on: https://gerrit.libreoffice.org/17020 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/ChartController.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index d548ba39295d..d88426271e77 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
{