[Libreoffice-commits] core.git: officecfg/registry sw/source
Susobhan Ghosh
susobhang70 at gmail.com
Thu Sep 1 08:24:10 UTC 2016
officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu | 28 -----------
sw/source/uibase/sidebar/SwPanelFactory.cxx | 12 ----
2 files changed, 1 insertion(+), 39 deletions(-)
New commits:
commit ced120105884ba423d96d7129475a2a6cdd86987
Author: Susobhan Ghosh <susobhang70 at gmail.com>
Date: Thu Aug 25 11:00:21 2016 +0000
Hide/Disable the Page property Panel for Writer
Change-Id: I3d8769f59811863ab38abeaefb289213d2c37570
Reviewed-on: https://gerrit.libreoffice.org/28379
Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens at cib.de>
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
index 0e86926..f687aeb 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
@@ -373,34 +373,6 @@
</prop>
</node>
- <node oor:name="PagePropertyPanel" oor:op="replace">
- <prop oor:name="Title" oor:type="xs:string">
- <value xml:lang="en-US">Page</value>
- </prop>
- <prop oor:name="Id" oor:type="xs:string">
- <value>PagePropertyPanel</value>
- </prop>
- <prop oor:name="DeckId" oor:type="xs:string">
- <value>PropertyDeck</value>
- </prop>
- <prop oor:name="DefaultMenuCommand">
- <value>.uno:PageDialog</value>
- </prop>
- <prop oor:name="ContextList">
- <value oor:separator=";">
- Writer, Table, hidden ;
- Writer, Text, hidden ;
- Writer, default, hidden ;
- </value>
- </prop>
- <prop oor:name="ImplementationURL" oor:type="xs:string">
- <value>private:resource/toolpanel/SwPanelFactory/PagePropertyPanel</value>
- </prop>
- <prop oor:name="OrderIndex" oor:type="xs:int">
- <value>300</value>
- </prop>
- </node>
-
<node oor:name="MediaPlaybackPanel" oor:op="replace">
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">Media Playback</value>
diff --git a/sw/source/uibase/sidebar/SwPanelFactory.cxx b/sw/source/uibase/sidebar/SwPanelFactory.cxx
index 8cca8e2..33c3132 100644
--- a/sw/source/uibase/sidebar/SwPanelFactory.cxx
+++ b/sw/source/uibase/sidebar/SwPanelFactory.cxx
@@ -21,7 +21,6 @@
#include <ThemePanel.hxx>
#include <StylePresetsPanel.hxx>
-#include <PagePropertyPanel.hxx>
#include <PageStylesPanel.hxx>
#include <PageFormatPanel.hxx>
#include <PageHeaderPanel.hxx>
@@ -124,16 +123,7 @@ Reference<ui::XUIElement> SAL_CALL SwPanelFactory::createUIElement (
"PanelFactory::createUIElement called without SfxBindings",
nullptr);
- if (rsResourceURL.endsWith("/PagePropertyPanel"))
- {
- VclPtr<vcl::Window> pPanel = sw::sidebar::PagePropertyPanel::Create( pParentWindow, xFrame, pBindings );
- xElement = sfx2::sidebar::SidebarPanelBase::Create(
- rsResourceURL,
- xFrame,
- pPanel,
- ui::LayoutSize(-1,-1,-1));
- }
- else if(rsResourceURL.endsWith("/PageStylesPanel"))
+ if(rsResourceURL.endsWith("/PageStylesPanel"))
{
VclPtr<vcl::Window> pPanel = sw::sidebar::PageStylesPanel::Create( pParentWindow, xFrame, pBindings );
xElement = sfx2::sidebar::SidebarPanelBase::Create(
More information about the Libreoffice-commits
mailing list