summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorÁlex Puchades <alex94puchades@gmail.com>2018-03-14 15:04:26 +0100
committerAron Budea <aron.budea@collabora.com>2018-06-11 07:55:29 +0200
commitd320692dcc77716df14a7f5a75be3779a5abddd4 (patch)
treee80cac2a5a07958af8511ab2749120c32419af4b /sd
parenta4bc1364e2fda875b2c7d91b21625039f3bc38ec (diff)
tdf#115453 Remove Master Handout tab from Views Tab Bar
The Views Tab Bar has had five tabs until now (Normal, Outline, Notes, Slide Sorter and Master Handout). Before this commit, selecting the Master Handout tab and then going back to the Normal or Notes tab showed the Slide/Notes Master instead of the expected behaviour. This commit removes the Master Handout Tab from the Views Tab Bar, with master views remaining accessible through the View Menu. Change-Id: I017af5f29d154386e4f0910151c478956aa0985f Reviewed-on: https://gerrit.libreoffice.org/51320 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 17b57caf83425d086ac8aa5c89815ed3dc3bc286)
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/framework/module/ViewTabBarModule.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/sd/source/ui/framework/module/ViewTabBarModule.cxx b/sd/source/ui/framework/module/ViewTabBarModule.cxx
index 40ea7f18d95a..eccfe626b297 100644
--- a/sd/source/ui/framework/module/ViewTabBarModule.cxx
+++ b/sd/source/ui/framework/module/ViewTabBarModule.cxx
@@ -172,14 +172,6 @@ void ViewTabBarModule::UpdateViewTabBar (const Reference<XTabBar>& rxTabBar)
aNotesViewButton.ButtonLabel = SdResId(STR_NOTES_MODE);
if ( ! xBar->hasTabBarButton(aNotesViewButton))
xBar->addTabBarButtonAfter(aNotesViewButton, aOutlineViewButton);
-
- TabBarButton aHandoutViewButton;
- aHandoutViewButton.ResourceId = FrameworkHelper::CreateResourceId(
- FrameworkHelper::msHandoutViewURL,
- xAnchor);
- aHandoutViewButton.ButtonLabel = SdResId(STR_HANDOUT_MASTER_MODE);
- if ( ! xBar->hasTabBarButton(aHandoutViewButton))
- xBar->addTabBarButtonAfter(aHandoutViewButton, aNotesViewButton);
}
}
}