summaryrefslogtreecommitdiff
path: root/sw/source/filter/basflt
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-08-20 13:59:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-20 14:42:50 +0200
commit2533faa1dcb5c2319f05992380cff0d3dc317b11 (patch)
tree2214f717e2dd68898edba4ac8b09fafdf65835c3 /sw/source/filter/basflt
parentc8f905fda1da4a3a58ab9bf4930cfaa7b7a04640 (diff)
use more SwPosition::GetNode
Change-Id: Ib09191384e0ae3175a564edf9387e4de00ce851d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138583 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/basflt')
-rw-r--r--sw/source/filter/basflt/shellio.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/basflt/shellio.cxx b/sw/source/filter/basflt/shellio.cxx
index 9c37a082cf58..cf45397a58de 100644
--- a/sw/source/filter/basflt/shellio.cxx
+++ b/sw/source/filter/basflt/shellio.cxx
@@ -169,7 +169,7 @@ ErrCode SwReader::Read( const Reader& rOptions )
if( bDocUndo || mpCursor )
{
// set Pam to the previous node, so that it is not also moved
- const SwNodeIndex& rTmp = pPam->GetPoint()->nNode;
+ const SwNode& rTmp = pPam->GetPoint()->GetNode();
pUndoPam.emplace( rTmp, rTmp, SwNodeOffset(0), SwNodeOffset(-1) );
}