diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-08-16 18:44:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-17 18:18:52 +0200 |
commit | 3a02b5f8aae803b7b5a232c724135594483627a4 (patch) | |
tree | 3e51ea888f4ed012295a3736cd4cff7d81ba11c5 /sw/source/filter/rtf | |
parent | a18a74d6762e56a20093ca51cfd12925697c2524 (diff) |
convert more nNode to SwPosition::GetNode
in places where we are using the result with operator==
Change-Id: I28f8f6fa2c3754ec6612ab2334c3a58b61ecd065
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138401
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/rtf')
-rw-r--r-- | sw/source/filter/rtf/swparrtf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/rtf/swparrtf.cxx b/sw/source/filter/rtf/swparrtf.cxx index f89151ee629b..f3b5b1e0d1a9 100644 --- a/sw/source/filter/rtf/swparrtf.cxx +++ b/sw/source/filter/rtf/swparrtf.cxx @@ -124,7 +124,7 @@ ErrCode SwRTFReader::Read(SwDoc& rDoc, const OUString& /*rBaseURL*/, SwPaM& rPam { // If the PaM points to the first new node, move the PaM to the // end of the previous node. - if (aPam.GetPoint()->nNode == aNxtIdx) + if (aPam.GetPoint()->GetNode() == aNxtIdx.GetNode()) { aPam.GetPoint()->Assign(*pTextNode, pTextNode->GetText().getLength()); } |