summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-06-16 02:30:41 +0100
committerMichael Meeks <michael.meeks@suse.com>2013-06-16 02:59:47 +0100
commit5adfa746fb176c00cefc5fa34c79214fe166855d (patch)
tree1df540bcec30a47e5e74ccaed059841e70f3cf5c /sfx2
parent9cf2d50ed5f53f5c40ce576c5bc370c18b9f67b7 (diff)
sidebar: disable listed but disabled toolpanel panes.
Change-Id: I4c156629c1b7587c342743af47be73f5cda253aa
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/ResourceManager.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/sfx2/source/sidebar/ResourceManager.cxx b/sfx2/source/sidebar/ResourceManager.cxx
index 96395ebd77b1..dc09419b9beb 100644
--- a/sfx2/source/sidebar/ResourceManager.cxx
+++ b/sfx2/source/sidebar/ResourceManager.cxx
@@ -33,8 +33,6 @@
#include <map>
-
-
using ::rtl::OUString;
using namespace css;
using namespace cssu;
@@ -50,7 +48,6 @@ public:
}
};
-
ResourceManager& ResourceManager::Instance (void)
{
static ResourceManager maInstance;
@@ -530,6 +527,13 @@ void ResourceManager::ReadLegacyAddons (const Reference<frame::XFrame>& rxFrame)
if ( ! aChildNode.isValid())
continue;
+ if ( rsNodeName == "private:resource/toolpanel/DrawingFramework/CustomAnimations" ||
+ rsNodeName == "private:resource/toolpanel/DrawingFramework/Layouts" ||
+ rsNodeName == "private:resource/toolpanel/DrawingFramework/MasterPages" ||
+ rsNodeName == "private:resource/toolpanel/DrawingFramework/SlideTransitions" ||
+ rsNodeName == "private:resource/toolpanel/DrawingFramework/TableDesign" )
+ continue;
+
DeckDescriptor& rDeckDescriptor (maDecks[nDeckWriteIndex++]);
rDeckDescriptor.msTitle = ::comphelper::getString(aChildNode.getNodeValue("UIName"));
rDeckDescriptor.msId = rsNodeName;