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

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


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

New commits:
commit 3b3ef6aba2f6a8b27bda420f60859ccecf15a970
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Nov 25 14:57:18 2015 +0000

    coverity#1340227 Missing break in switch
    
    Change-Id: I30ea6cea81ae1b4f344e253c7a51cfef4d844128
    (cherry picked from commit f4ac785494ac056535d2ff12ac59b909dafa4bab)
    Reviewed-on: https://gerrit.libreoffice.org/20178
    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 42f0403..30d881c 100644
--- a/sd/source/ui/view/ViewShellBase.cxx
+++ b/sd/source/ui/view/ViewShellBase.cxx
@@ -1290,6 +1290,7 @@ void ViewShellBase::Implementation::GetSlotState (SfxItemSet& rSet)
                         pFrameView = mrBase.GetMainViewShell()->GetFrameView();
                         bState = pFrameView->GetViewShEditMode() == EM_MASTERPAGE
                             && pFrameView->GetPageKind() == PK_NOTES;
+                        break;
 
                     case SID_TOGGLE_TABBAR_VISIBILITY:
                         bState = GetUserWantsTabBar();


More information about the Libreoffice-commits mailing list