summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÁlex Puchades <alex94puchades@gmail.com>2018-03-14 15:04:26 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-15 16:12:42 +0100
commit17b57caf83425d086ac8aa5c89815ed3dc3bc286 (patch)
treee8f046fe9173887b262b4597d3892e2d99251194
parent28e8c3e28bf4944ecad23961602b9b1f72613d39 (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>
-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);
}
}
}