sw/source/filter/html/wrthtml.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c98388db265e380a7e933a38c7dc616705269f03
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Thu Oct 6 14:52:10 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Thu Oct 6 20:37:25 2022 +0200

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

diff --git a/sw/source/filter/html/wrthtml.cxx 
b/sw/source/filter/html/wrthtml.cxx
index 35d94b86f5e7..ccb21539e76a 100644
--- a/sw/source/filter/html/wrthtml.cxx
+++ b/sw/source/filter/html/wrthtml.cxx
@@ -906,7 +906,7 @@ void SwHTMLWriter::Out_SwDoc( SwPaM* pPam )
                 SwTextNode* pTextNd = rNd.GetTextNode();
 
                 if( !m_bFirstLine )
-                    m_pCurrentPam->GetPoint()->nContent.Assign( pTextNd, 0 );
+                    m_pCurrentPam->GetPoint()->Assign( *pTextNd, 0 );
 
                 OutHTML_SwTextNode( *this, *pTextNd );
             }

Reply via email to