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

New commits:
commit f57db0a495e99723e81381ffa29dfee982fbd325
Author: Stephan Bergmann <sberg...@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 <c...@libreoffice.org>
    Reviewed-by: Stephan Bergmann <sberg...@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();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to