summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/hffrm.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-11 09:45:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-11 17:45:25 +0100
commit775a06361639ffc539fda20d44b9610c98005d9b (patch)
treeee56d194e409cbdcd252d7b56e6eeeb423c90409 /sw/source/core/layout/hffrm.cxx
parentd068c68640f32d4a94da4df197441ee09a702b75 (diff)
convert PrepareHint to scoped enum
Change-Id: Ia7c987dc59f335d76ee874c1bb51707cb55ff41e Reviewed-on: https://gerrit.libreoffice.org/84922 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/layout/hffrm.cxx')
-rw-r--r--sw/source/core/layout/hffrm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/hffrm.cxx b/sw/source/core/layout/hffrm.cxx
index fa5e1044fcad..56eb1f733307 100644
--- a/sw/source/core/layout/hffrm.cxx
+++ b/sw/source/core/layout/hffrm.cxx
@@ -345,7 +345,7 @@ void SwHeadFootFrame::FormatSize(SwTwips nUL, const SwBorderAttrs * pAttrs)
if (pTmpFrame->IsUndersized() )
{
pTmpFrame->InvalidateSize();
- pTmpFrame->Prepare(PREP_ADJUST_FRM);
+ pTmpFrame->Prepare(PrepareHint::AdjustSizeWithoutFormatting);
}
}
/* #i3568# Undersized sections need to be
@@ -357,7 +357,7 @@ void SwHeadFootFrame::FormatSize(SwTwips nUL, const SwBorderAttrs * pAttrs)
if (pTmpFrame->IsUndersized() )
{
pTmpFrame->InvalidateSize();
- pTmpFrame->Prepare(PREP_ADJUST_FRM);
+ pTmpFrame->Prepare(PrepareHint::AdjustSizeWithoutFormatting);
}
}
pFrame = pFrame->GetNext();