[Libreoffice-commits] core.git: sd/source

Álex Puchades alex94puchades at gmail.com
Thu Mar 15 15:13:14 UTC 2018


 sd/source/ui/framework/module/ViewTabBarModule.cxx |    8 --------
 1 file changed, 8 deletions(-)

New commits:
commit 17b57caf83425d086ac8aa5c89815ed3dc3bc286
Author: Álex Puchades <alex94puchades at gmail.com>
Date:   Wed Mar 14 15:04:26 2018 +0100

    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 at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

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);
         }
     }
 }


More information about the Libreoffice-commits mailing list