[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - sd/source

Caolán McNamara caolanm at redhat.com
Thu Nov 26 04:23:06 PST 2015


 sd/source/ui/view/ViewShellBase.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit d8e6bc709ad77047320491148acf7076186a51d2
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Nov 25 14:56:51 2015 +0000

    coverity#1340226 Missing break in switch
    
    Change-Id: Ibd1c15ce65501d4dc6d0cea8c8e5f4e683d1b7a4
    (cherry picked from commit c5bfac3f26dab2308b5a9797876927d410ac7876)
    Reviewed-on: https://gerrit.libreoffice.org/20177
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx
index 41ad725..42f0403 100644
--- a/sd/source/ui/view/ViewShellBase.cxx
+++ b/sd/source/ui/view/ViewShellBase.cxx
@@ -1255,6 +1255,7 @@ void ViewShellBase::Implementation::GetSlotState (SfxItemSet& rSet)
                         pFrameView = mrBase.GetMainViewShell()->GetFrameView();
                         bState = pFrameView->GetViewShEditMode() == EM_MASTERPAGE
                             && pFrameView->GetPageKind() == PK_STANDARD;
+                        break;
 
                     case SID_SLIDE_SORTER_MULTI_PANE_GUI:
                     case SID_SLIDE_SORTER_MODE:


More information about the Libreoffice-commits mailing list