sw/source/filter/inc/fltshell.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c40671e082b6ece4dbd117346d9f5a3912900e54
Author:     Noel Grandin <noelgran...@gmail.com>
AuthorDate: Fri Oct 7 17:04:32 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Fri Oct 7 19:49:04 2022 +0200

    use more SwPosition::GetNode
    
    part of the process of hiding the internals of SwPosition
    
    Change-Id: I89fdef3ac8f12f88db76abe281d628f25a66536e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141084
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/sw/source/filter/inc/fltshell.hxx 
b/sw/source/filter/inc/fltshell.hxx
index edf724f0a1f1..12ec446bf081 100644
--- a/sw/source/filter/inc/fltshell.hxx
+++ b/sw/source/filter/inc/fltshell.hxx
@@ -64,7 +64,7 @@ public:
     //operators with SwPosition, where the node is hacked to the previous one,
     //and the offset to content is de-dynamic-ified
     SwFltPosition(const SwPosition &rPos)
-        : m_nNode(rPos.nNode, -1)
+        : m_nNode(rPos.GetNode(), -1)
         , m_nContent(rPos.GetContentIndex())
     {
     }

Reply via email to