summaryrefslogtreecommitdiff
path: root/sw/qa/extras/ww8export
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-08-30 18:41:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-31 13:13:27 +0200
commit38b7c85f59e8b4ea2a0ae19ababa4da9c7061e99 (patch)
treebcf330f38af9bb97a796e791b745dec929f973db /sw/qa/extras/ww8export
parentbeb3d232f0d2987c09e2963c49329575a4e66048 (diff)
use more SwPosition::Assign
part of hiding the internals of SwPosition Change-Id: I4e50aa5c71f86ed0d06e4c42b84d11158579207f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139061 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/qa/extras/ww8export')
-rw-r--r--sw/qa/extras/ww8export/ww8export.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/ww8export/ww8export.cxx b/sw/qa/extras/ww8export/ww8export.cxx
index 802717ad1ed5..a92d4899194b 100644
--- a/sw/qa/extras/ww8export/ww8export.cxx
+++ b/sw/qa/extras/ww8export/ww8export.cxx
@@ -764,7 +764,7 @@ DECLARE_WW8EXPORT_TEST( testTdf105570, "tdf105570.doc" )
SwDoc* pDoc = pTextDoc->GetDocShell()->GetDoc();
SwWrtShell* pWrtShell = pDoc->GetDocShell()->GetWrtShell();
SwShellCursor* pShellCursor = pWrtShell->getShellCursor( false );
- SwNodeIndex aIdx = pShellCursor->Start()->nNode;
+ SwNodeIndex aIdx( pShellCursor->Start()->GetNode() );
// Find first table
SwTableNode* pTableNd = aIdx.GetNode().FindTableNode();