summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/hffrm.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-06-29 15:36:40 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-06-29 15:39:12 +0200
commit8527dfbd4d3f79de8b02c561e5f0fef0d54d3eeb (patch)
tree7f394392091b5067bdb2400ab752bf78e1d8a43d /sw/source/core/layout/hffrm.cxx
parente05fbf07bb8dd0094b9e7f20cebfb88678f1e676 (diff)
SwFrm::Calc: use vcl::RenderContext
Change-Id: I98de3f5413756c494c677d592ea921155e4c08be
Diffstat (limited to 'sw/source/core/layout/hffrm.cxx')
-rw-r--r--sw/source/core/layout/hffrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/hffrm.cxx b/sw/source/core/layout/hffrm.cxx
index a54fbbdc4357..e12df3e12c35 100644
--- a/sw/source/core/layout/hffrm.cxx
+++ b/sw/source/core/layout/hffrm.cxx
@@ -248,7 +248,7 @@ void SwHeadFootFrm::FormatSize(SwTwips nUL, const SwBorderAttrs * pAttrs)
}
while( pFrm )
{
- pFrm->Calc();
+ pFrm->Calc(getRootFrm()->GetCurrShell()->GetOut());
// #i43771# - format also object anchored
// at the frame
// #i46941# - frame has to be valid.