From f57db0a495e99723e81381ffa29dfee982fbd325 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 20 Mar 2018 19:52:37 +0100 Subject: loplugin:emptyif Change-Id: If113f176e6ec590d578f5225323f1efda77b7c23 Reviewed-on: https://gerrit.libreoffice.org/51674 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sw/source/core/layout/sectfrm.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sw') 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(); -- cgit