summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2013-05-17 12:23:50 +0000
committerAndre Fischer <af@apache.org>2013-05-17 12:23:50 +0000
commit09d043596e8283dd6ced26d1e4ff0da530252df0 (patch)
treee909f6787fffad984f33006feb15e9aa9a445002 /sfx2
parente65bf3376ec742e2d5e69cad097d17f77fb19a73 (diff)
122219: Show 'Cell Appearance' and 'Number Format' panels when editing cells.
Notes
Notes: merged as: 9a32ed36709cb03a8b5d3bcff0276bc31c934848
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/Deck.cxx4
-rw-r--r--sfx2/source/sidebar/SidebarController.cxx14
2 files changed, 0 insertions, 18 deletions
diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx
index 76a83b14c0cf..416fb0da5159 100644
--- a/sfx2/source/sidebar/Deck.cxx
+++ b/sfx2/source/sidebar/Deck.cxx
@@ -299,8 +299,6 @@ const SharedPanelContainer& Deck::GetPanels (void) const
void Deck::RequestLayout (void)
{
- // PrintWindowTree();
-
DeckLayouter::LayoutDeck(
GetContentArea(),
maPanels,
@@ -309,8 +307,6 @@ void Deck::RequestLayout (void)
*mpScrollContainer,
*mpFiller,
*mpVerticalScrollBar);
-
- Invalidate();
}
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index fd0a1af52b79..a6a4d73011c7 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -526,20 +526,6 @@ void SidebarController::SwitchToDeck (
}
}
- if (mpCurrentDeck
- && ArePanelSetsEqual(mpCurrentDeck->GetPanels(), aPanelContextDescriptors))
- {
- // Requested set of panels is identical to the current set of
- // panels => Nothing to do.
- return;
- }
-
- // When the document is read-only, check if there are any panels that can still be displayed.
- if (mbIsDocumentReadOnly)
- {
- }
-
-
// Provide a configuration and Deck object.
if ( ! mpCurrentDeck)
{