summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-03-20 19:52:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-03-21 09:29:16 +0100
commitf57db0a495e99723e81381ffa29dfee982fbd325 (patch)
tree0adfd1c7f9d2b82035b0bcf72adc49dd744761d8 /sw
parent19ccd4ca8a103c3945c292ae91cd65b3f27b1335 (diff)
loplugin:emptyif
Change-Id: If113f176e6ec590d578f5225323f1efda77b7c23 Reviewed-on: https://gerrit.libreoffice.org/51674 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/sectfrm.cxx2
1 files changed, 2 insertions, 0 deletions
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();