sw/source/filter/xml/swxml.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 7967d01a5cc9deb76a1c2e72784b7cbc2862fcd7 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Thu Aug 8 14:17:53 2024 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu Aug 8 18:32:10 2024 +0200 simplify Change-Id: I771e78413022d0e8ff1ac842d6f6ee38ae3b68f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171630 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx index 0a133327c6f1..a3b0cd161a3e 100644 --- a/sw/source/filter/xml/swxml.cxx +++ b/sw/source/filter/xml/swxml.cxx @@ -841,8 +841,7 @@ ErrCodeMsg XMLReader::Read( SwDoc &rDoc, const OUString& rBaseURL, SwPaM &rPaM, // sw_redlinehide: disable layout cache for now *o3tl::doAccess<bool>(xInfoSet->getPropertyValue(sShowChanges)) && // sw_fieldmarkhide: also disable if there is a fieldmark - rDoc.getIDocumentMarkAccess()->getFieldmarksBegin() - == rDoc.getIDocumentMarkAccess()->getFieldmarksEnd()) + rDoc.getIDocumentMarkAccess()->getFieldmarksCount() == 0) { try {