summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/sidebar/SidebarController.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index 2da9d4863a40..d8668186fcf3 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -92,7 +92,6 @@ namespace {
static const char gsDefaultDeckId[] = "PropertyDeck";
}
-
SidebarController::SidebarController (
SidebarDockingWindow* pParentWindow,
const css::uno::Reference<css::frame::XFrame>& rxFrame)
@@ -124,12 +123,6 @@ SidebarController::SidebarController (
mnWidthOnSplitterButtonDown(0),
mpCloseIndicator()
{
- if (pParentWindow == NULL)
- {
- OSL_ASSERT(pParentWindow!=NULL);
- return;
- }
-
// Listen for context change events.
css::uno::Reference<css::ui::XContextChangeEventMultiplexer> xMultiplexer (
css::ui::ContextChangeEventMultiplexer::get(
@@ -163,16 +156,10 @@ SidebarController::SidebarController (
xWeakController));
}
-
-
-
SidebarController::~SidebarController (void)
{
}
-
-
-
SidebarController* SidebarController::GetSidebarControllerForFrame (
const css::uno::Reference<css::frame::XFrame>& rxFrame)
{
@@ -187,9 +174,6 @@ SidebarController* SidebarController::GetSidebarControllerForFrame (
return dynamic_cast<SidebarController*>(xController.get());
}
-
-
-
void SAL_CALL SidebarController::disposing (void)
{
SidebarControllerContainer::iterator iEntry (maSidebarControllerContainer.find(mxFrame));