sidebar: disable listed but disabled toolpanel panes.
Change-Id: I4c156629c1b7587c342743af47be73f5cda253aa
This commit is contained in:
@@ -32,8 +32,6 @@
|
||||
|
||||
#include <map>
|
||||
|
||||
|
||||
|
||||
using ::rtl::OUString;
|
||||
using namespace css;
|
||||
using namespace cssu;
|
||||
@@ -49,7 +47,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
ResourceManager& ResourceManager::Instance (void)
|
||||
{
|
||||
static ResourceManager maInstance;
|
||||
@@ -529,6 +526,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;
|
||||
|
||||
Reference in New Issue
Block a user