sw/source/filter/ww8/wrtw8nds.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 84693c17d9081c3db662bb28534e8c2d3d2fedf9
Author:     Justin Luth <[email protected]>
AuthorDate: Tue Jan 27 14:28:01 2026 -0500
Commit:     Justin Luth <[email protected]>
CommitDate: Thu Feb 5 14:52:06 2026 +0100

    NFC tdf#170516 cleanup: remove unused changes to nStateOfFlyFrame
    
    No Functional Change intended
    
    These changes to nStateOfFlyFrame are no longer used.
    Perhaps they ought to also have
      AttrOutput().SetStateOfFlyFrame( nStateOfFlyFrame );
    however they never did - probably because they are
      // insert final graphic anchors if any before CR
    and so nobody cares anymore.
    
    Change-Id: I05299864118d208a391fa81926e8349e02db3cfc
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198460
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <[email protected]>

diff --git a/sw/source/filter/ww8/wrtw8nds.cxx 
b/sw/source/filter/ww8/wrtw8nds.cxx
index 9e43abc64fa4..978cce67d5ae 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -2526,7 +2526,7 @@ void MSWordExportBase::OutputTextNode( SwTextNode& rNode )
                 }
             }
 
-            FlyProcessingState nStateOfFlyFrame = aAttrIter.OutFlys( 
nCurrentPos );
+            const FlyProcessingState nStateOfFlyFrame = 
aAttrIter.OutFlys(nCurrentPos);
             AttrOutput().SetStateOfFlyFrame( nStateOfFlyFrame );
 
             // Append bookmarks in this range after flys, exclusive of final
@@ -2770,7 +2770,7 @@ void MSWordExportBase::OutputTextNode( SwTextNode& rNode )
                     else
                     {
                         // insert final graphic anchors if any before CR
-                        nStateOfFlyFrame = aAttrIter.OutFlys( nEnd );
+                        aAttrIter.OutFlys(nEnd);
                         // insert final bookmarks if any before CR and after 
flys
                         AppendBookmarks( rNode, nEnd, 1 );
                         AppendAnnotationMarks(aAttrIter, nEnd, 1);
@@ -2824,7 +2824,7 @@ void MSWordExportBase::OutputTextNode( SwTextNode& rNode )
                     AttrOutput().WritePostitFieldReference();
 
                     // insert final graphic anchors if any before CR
-                    nStateOfFlyFrame = aAttrIter.OutFlys( nEnd );
+                    aAttrIter.OutFlys(nEnd);
                     // insert final bookmarks if any before CR and after flys
                     AppendBookmarks( rNode, nEnd, 1 );
                     AppendAnnotationMarks(aAttrIter, nEnd, 1);

Reply via email to