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

Stephan Bergmann sbergman at redhat.com
Wed Mar 21 08:29:39 UTC 2018


 sw/source/core/layout/sectfrm.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit f57db0a495e99723e81381ffa29dfee982fbd325
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Mar 20 19:52:37 2018 +0100

    loplugin:emptyif
    
    Change-Id: If113f176e6ec590d578f5225323f1efda77b7c23
    Reviewed-on: https://gerrit.libreoffice.org/51674
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sw/source/core/layout/sectfrm.cxx b/sw/source/core/layout/sectfrm.cxx
index 62b3e7f310d3..ce3c2017ace0 100644
--- a/sw/source/core/layout/sectfrm.cxx
+++ b/sw/source/core/layout/sectfrm.cxx
@@ -151,10 +151,12 @@ void SwSectionFrame::DestroyImpl()
                     pMaster->InvalidateSize();
             }
         }
+#if defined DBG_UTIL
         else if( HasFollow() )
         {
             PROTOCOL( this, PROT::Section, DbgAction::DelMaster, GetFollow() )
         }
+#endif
     }
 
     SwLayoutFrame::DestroyImpl();


More information about the Libreoffice-commits mailing list