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

Samuel Mehrbrodt s.mehrbrodt at gmail.com
Tue Oct 29 14:04:20 CET 2013


 sd/sdi/SlideSorterController.sdi                       |    6 ------
 sd/source/ui/slidesorter/controller/SlsSlotManager.cxx |    4 ----
 2 files changed, 10 deletions(-)

New commits:
commit 637033d67c11582abaef43b1d16d3ba4e5653a0d
Author: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>
Date:   Sat Oct 5 13:47:45 2013 +0200

    fdo#33848 Show zoom Slider when the focus is on the Slides Sidebar
    
    Inspired by this patch from Ariel Constenla-Haile:https://issues.apache.org/ooo/attachment.cgi?id=80653&action=diff
    
    Change-Id: I8e482d9829eeb81a1f7cc89a4de781ae768f3333
    Reviewed-on: https://gerrit.libreoffice.org/6141
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sd/sdi/SlideSorterController.sdi b/sd/sdi/SlideSorterController.sdi
index 36ddbd8..4c5787a 100644
--- a/sd/sdi/SlideSorterController.sdi
+++ b/sd/sdi/SlideSorterController.sdi
@@ -186,12 +186,6 @@ interface SlideSorterView
         ExecMethod = ExecStatusBar ;
         StateMethod = GetStatusBarState ;
     ]
-    SID_ATTR_ZOOMSLIDER // status()
-    [
-        ExecMethod = ExecStatusBar ;
-        StateMethod = GetStatusBarState ;
-    ]
-
     SID_RELOAD // ole : no, status : ?
     [
         GroupId = GID_DOCUMENT ;
diff --git a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
index 7e31285..715ecef 100644
--- a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
@@ -876,10 +876,6 @@ void SlotManager::GetStatusBarState (SfxItemSet& rSet)
             aLayoutStr = aLayoutStr.copy(0, nIndex);
         rSet.Put( SfxStringItem( SID_STATUS_LAYOUT, aLayoutStr ) );
     }
-    if( SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_ATTR_ZOOMSLIDER ) )
-    {
-        rSet.Put( SfxVoidItem( SID_ATTR_ZOOMSLIDER ) );
-    }
 }
 
 void SlotManager::ShowSlideShow( SfxRequest& rReq)


More information about the Libreoffice-commits mailing list