diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-20 13:54:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-31 12:09:00 +0200 |
commit | 4732e65646016087d772adb3a0b55c166b35356d (patch) | |
tree | 76285ed978ddce19355fe993391172aeb575d69b /sw/source/core/layout/calcmove.cxx | |
parent | b6e32d53ce9c98bfba517c40f53d40e97a091b0e (diff) |
loplugin:unusedfields in sw
Change-Id: Iad2bddb2359af3e7da40175d17d2d3ed7eda5be6
Reviewed-on: https://gerrit.libreoffice.org/40229
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/layout/calcmove.cxx')
-rw-r--r-- | sw/source/core/layout/calcmove.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sw/source/core/layout/calcmove.cxx b/sw/source/core/layout/calcmove.cxx index 94cf9bc6dcac..b51da88350cd 100644 --- a/sw/source/core/layout/calcmove.cxx +++ b/sw/source/core/layout/calcmove.cxx @@ -1112,21 +1112,6 @@ void SwContentFrame::MakeAll(vcl::RenderContext* /*pRenderContext*/) int nConsecutiveFormatsWithoutChange = 0; PROTOCOL_ENTER( this, PROT::MakeAll, DbgAction::NONE, nullptr ) -#ifdef DBG_UTIL - const SwDoc *pDoc = GetAttrSet()->GetDoc(); - if( pDoc ) - { - static bool bWarned = false; - if( pDoc->InXMLExport() ) - { - SAL_WARN_IF( !bWarned, "sw", "Formatting during XML-export!" ); - bWarned = true; - } - else - bWarned = false; - } -#endif - // takes care of the notification in the dtor SwContentNotify *pNotify = new SwContentNotify( this ); |