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

New commits:
commit d320692dcc77716df14a7f5a75be3779a5abddd4
Author: Álex Puchades <alex94pucha...@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 <c...@libreoffice.org>
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>
    (cherry picked from commit 17b57caf83425d086ac8aa5c89815ed3dc3bc286)

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);
         }
     }
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to