summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/ssfrm.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-05-22 14:36:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-05-23 11:11:11 +0200
commit28bff4bd3947f442c0aebb92217cd0c7b6a53bda (patch)
treecfa5cf6199774bc9decd07e286d4e4182f1590d3 /sw/source/core/layout/ssfrm.cxx
parentbe6227b6c8d6ffacb7168e76856c7e059c08bf77 (diff)
convert nsRedlineType_t to scoped enum
and move the auto-format embedded flag to a separate field Change-Id: I02155702389178fbfdf874f592d47a29f8759974 Reviewed-on: https://gerrit.libreoffice.org/72771 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/layout/ssfrm.cxx')
-rw-r--r--sw/source/core/layout/ssfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/ssfrm.cxx b/sw/source/core/layout/ssfrm.cxx
index 4e80de512c8b..55b9dfe32e4e 100644
--- a/sw/source/core/layout/ssfrm.cxx
+++ b/sw/source/core/layout/ssfrm.cxx
@@ -451,7 +451,7 @@ void SwTextFrame::RegisterToNode(SwTextNode & rNode, bool const isForceNodeAsFir
{ // nothing registered here, in particular no redlines
assert(m_pMergedPara->pFirstNode->GetIndex() + 1 == rNode.GetIndex());
assert(rNode.GetDoc()->getIDocumentRedlineAccess().GetRedlinePos(
- *m_pMergedPara->pFirstNode, USHRT_MAX) == SwRedlineTable::npos);
+ *m_pMergedPara->pFirstNode, RedlineType::Any) == SwRedlineTable::npos);
}
assert(&rNode != GetDep());
assert(!m_pMergedPara