diff options
author | Aron Budea <aron.budea@collabora.com> | 2017-12-22 13:26:49 +0100 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2017-12-27 23:05:02 +0100 |
commit | 88f6ffeb9e0c0b942c2b0bc9d60af7bb7a6caaf8 (patch) | |
tree | c3355118717ea09413f0237a5c22337494d92cdc /sd | |
parent | e4689afb970ec7090e6e604acda25c2aa12f3e87 (diff) |
tdf#109100: Hide label for margin control in Impress
Change-Id: Ib61656913df673ebfde61e2c921f84cb81195a3b
Reviewed-on: https://gerrit.libreoffice.org/46974
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/sidebar/SlideBackground.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx index 9c94a208b2cb..76da35ddd0b0 100644 --- a/sd/source/ui/sidebar/SlideBackground.cxx +++ b/sd/source/ui/sidebar/SlideBackground.cxx @@ -240,7 +240,13 @@ void SlideBackground::HandleContextChange( if ( IsImpress() ) { mpMasterLabel->SetText(SdResId(STR_MASTERSLIDE_LABEL)); + + // margin selector is only for Draw mpMarginSelectBox->Hide(); + VclPtr<FixedText> pMarginLabel; + get(pMarginLabel, "labelmargin"); + if ( pMarginLabel ) + pMarginLabel->Hide(); if ( maContext == maImpressMasterContext ) { |