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

Stephan Bergmann sbergman at redhat.com
Wed May 11 14:03:34 UTC 2016


 sd/source/filter/eppt/epptso.cxx    |    1 +
 sd/source/filter/eppt/pptx-text.cxx |    2 ++
 2 files changed, 3 insertions(+)

New commits:
commit 8a1440cf04e621798f3e4319c6023e8b4aa08c45
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed May 11 16:03:05 2016 +0200

    Add SAL_FALLTHROUGH, where apparently appropriate
    
    Change-Id: I34629f1f4c77aaf12bb9b668b24f98e8d3e8eaef

diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index ad80de7..97c02fc 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -3228,6 +3228,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
                             {
                                 if ( nPlaceHolderAtom < 19 )
                                     break;
+                                SAL_FALLTHROUGH;
                             }
                             case EPP_PLACEHOLDER_NOTESBODY :
                             case EPP_PLACEHOLDER_MASTERDATE :
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx
index f6f533d..49c1add 100644
--- a/sd/source/filter/eppt/pptx-text.cxx
+++ b/sd/source/filter/eppt/pptx-text.cxx
@@ -932,6 +932,8 @@ void ParagraphObj::ImplGetNumberingLevel( PPTExBulletProvider* pBuProv, sal_Int1
                         {
                             nParaFlags |= 0x90; // we define the font and charset
                         }
+
+                        SAL_FALLTHROUGH;
                     }
                     case SVX_NUM_CHARS_UPPER_LETTER :       // count from a-z, aa - az, ba - bz, ...
                     case SVX_NUM_CHARS_LOWER_LETTER :


More information about the Libreoffice-commits mailing list