summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode
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/txtnode
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/txtnode')
-rw-r--r--sw/source/core/txtnode/ndtxt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index d71378ebeff4..3a682cdcb857 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -684,7 +684,7 @@ SwTextNode *SwTextNode::SplitContentNode(const SwPosition & rPos,
// turns out it's empty - in this case, it was not
// invalidated because Cut didn't sent it any hints,
// so we have to invalidate it here!
- pFrame->Prepare(PREP_CLEAR, nullptr, false);
+ pFrame->Prepare(PrepareHint::Clear, nullptr, false);
}
if (!pFrame->GetMergedPara() ||
!pFrame->GetMergedPara()->listener.IsListeningTo(this))