diff options
author | Justin Luth <justin.luth@collabora.com> | 2020-12-01 12:09:34 +0300 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2020-12-03 06:11:45 +0100 |
commit | 78ec4f4cbd5b7cc5b7eeb465fe7950fc72ce2847 (patch) | |
tree | 41afec85e908e1517f291a1bb7fe8959aab35c43 /sd/source/ui/sidebar | |
parent | 39e962f5356b5fbbf269607b4432a4f28f56ae4f (diff) |
tdf#116815 Draw UI: remove presentation-only stuff
These items are not saved or imported into Draw,
so remove them from the UI interface.
They are just inherited from Impress.
Specifically:
-Display Master Background
-Display Master Objects
-Master Elements
This patch removes these 3 elements in Draw from:
-sidebar page properties
-main traditional menu
-Tabbed Notebook bar's layout tab,
and the tab's Layout menu,
and when viewing master - context tab
-Compact Notebook bar's layout tab,
and the tab's Layout menu,
and when viewing master - context tab
-Single Notebook bar's master context view
-Compact groupped bar's Page menu
(even though it isn't visible.)
Change-Id: Ibae57bfec18cd44e9a76e6847a4c5215945b64ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107002
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sd/source/ui/sidebar')
-rw-r--r-- | sd/source/ui/sidebar/SlideBackground.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx index fb720af1f034..5341acc24f13 100644 --- a/sd/source/ui/sidebar/SlideBackground.cxx +++ b/sd/source/ui/sidebar/SlideBackground.cxx @@ -348,6 +348,8 @@ void SlideBackground::HandleContextChange( else if ( IsDraw() ) { mxMasterLabel->set_label(SdResId(STR_MASTERPAGE_LABEL)); + mxDspMasterBackground->hide(); + mxDspMasterObjects->hide(); if (maContext == maDrawOtherContext) { |