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

Stephan Bergmann sbergman at redhat.com
Wed May 11 14:39:37 UTC 2016


 sw/source/core/text/txtfrm.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 315aebd9706fde5c8d4a4b6d1f5587edf5607671
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed May 11 16:38:20 2016 +0200

    Looks like SAL_FALLTHROUGH is intended here
    
    ...given 3006acbabc363af9dfe7deab11759678ababb7b9 "New: Vertical flag"
    
    Change-Id: I99c89017f43aeb6f7cf2808dffc498b99d8765fc

diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx
index 0315849..5e47bf6 100644
--- a/sw/source/core/text/txtfrm.cxx
+++ b/sw/source/core/text/txtfrm.cxx
@@ -1462,6 +1462,7 @@ bool SwTextFrame::Prepare( const PrepareHint ePrep, const void* pVoid,
         {
             case PREP_BOSS_CHGD:
                 SetInvalidVert( true ); // Test
+                SAL_FALLTHROUGH;
             case PREP_WIDOWS_ORPHANS:
             case PREP_WIDOWS:
             case PREP_FTN_GONE :    return bParaPossiblyInvalid;


More information about the Libreoffice-commits mailing list