summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/paintfrm.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-16 14:06:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-16 15:05:58 +0100
commitc8907b19dc04a57b74cfc14dc641ac41177e2142 (patch)
treeabd7d18e2faa6f995144d40a72e06a04eae034ac /sw/source/core/layout/paintfrm.cxx
parent11300c48d4350c2f6748a1ca04b919cfae338d41 (diff)
loplugin:buriedassign in sw
Change-Id: If2adf22a0ac3e030fca1b4ecd0173cac58f0f21e Reviewed-on: https://gerrit.libreoffice.org/63470 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/layout/paintfrm.cxx')
-rw-r--r--sw/source/core/layout/paintfrm.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index b7abc1e3453b..de8d04311d64 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -5168,7 +5168,8 @@ void SwFootnoteContFrame::PaintLine( const SwRect& rRect,
SwRectFnSet aRectFnSet(this);
SwTwips nPrtWidth = aRectFnSet.GetWidth(getFramePrintArea());
Fraction aFract( nPrtWidth, 1 );
- const SwTwips nWidth = static_cast<long>(aFract *= rInf.GetWidth());
+ aFract *= rInf.GetWidth();
+ const SwTwips nWidth = static_cast<long>(aFract);
SwTwips nX = aRectFnSet.GetPrtLeft(*this);
switch ( rInf.GetAdj() )