summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/calcmove.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-19 14:40:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-30 07:20:51 +0100
commit20e5f64215853bdd32c5f16394ba7f2f36745904 (patch)
treedab302d397def2f9a04cf9f3f9e170b0ef2c84b9 /sw/source/core/layout/calcmove.cxx
parent036b51dbc49b533d1db773d8627d56ab86bca487 (diff)
loplugin:unused-returns in sw
Change-Id: I753fcdd35d461880a8d8160213cabd465cfde967 Reviewed-on: https://gerrit.libreoffice.org/48189 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.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sw/source/core/layout/calcmove.cxx b/sw/source/core/layout/calcmove.cxx
index 16f30d320444..af4ab0515fab 100644
--- a/sw/source/core/layout/calcmove.cxx
+++ b/sw/source/core/layout/calcmove.cxx
@@ -1006,10 +1006,8 @@ bool SwFrame::IsCollapse() const
return pTextNode && pTextNode->IsCollapse();
}
-bool SwContentFrame::MakePrtArea( const SwBorderAttrs &rAttrs )
+void SwContentFrame::MakePrtArea( const SwBorderAttrs &rAttrs )
{
- bool bSizeChgd = false;
-
if ( !isFramePrintAreaValid() )
{
setFramePrintAreaValid(true);
@@ -1138,10 +1136,8 @@ bool SwContentFrame::MakePrtArea( const SwBorderAttrs &rAttrs )
GrowFrame( nUpper );
else
ShrinkFrame( -nUpper );
- bSizeChgd = true;
}
}
- return bSizeChgd;
}
#define STOP_FLY_FORMAT 10