summaryrefslogtreecommitdiff
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
parente65bf3376ec742e2d5e69cad097d17f77fb19a73 (diff)
122219: Show 'Cell Appearance' and 'Number Format' panels when editing cells.
Notes
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu2
-rw-r--r--sfx2/source/sidebar/Deck.cxx4
-rw-r--r--sfx2/source/sidebar/SidebarController.cxx14
3 files changed, 2 insertions, 18 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
index 927747c99d3c..d05cdae4f003 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
@@ -752,6 +752,7 @@
<value oor:separator=";">
Calc, Auditing, visible ;
Calc, Cell, visible ;
+ Calc, EditCell, visible ;
Calc, default, visible ;
Calc, Pivot, visible ;
</value>
@@ -781,6 +782,7 @@
<value oor:separator=";">
Calc, Auditing, hidden ;
Calc, Cell, hidden ;
+ Calc, EditCell, hidden ;
Calc, default, hidden ;
Calc, Pivot, hidden ;
</value>
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)
{