sw/source/filter/ww8/wrtw8nds.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit d254e813f49071c336dcd741b4da85d6066d8730 Author: Noel Grandin <[email protected]> AuthorDate: Wed Feb 11 09:37:40 2026 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Wed Feb 11 09:38:30 2026 +0100 move var closer to use Change-Id: I557765b4c9af4c28955c1310644ce3be88035a03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199120 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index fdbec62edf7e..e1c036339a92 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -2548,7 +2548,6 @@ void MSWordExportBase::OutputTextNode( SwTextNode& rNode ) bool bTextAtr = aAttrIter.IsTextAttr( nCurrentPos ); nOpenAttrWithRange += aAttrIter.OutAttrWithRange( rNode, nCurrentPos ); - OUString aSymbolFont; sal_Int32 nLen = nNextAttr - nCurrentPos; // DOCX: Put the flies in their own run. @@ -2736,7 +2735,7 @@ void MSWordExportBase::OutputTextNode( SwTextNode& rNode ) m_bAddFootnoteTab = false; } - aSymbolFont = lcl_GetSymbolFont(m_rDoc.GetAttrPool(), rNode, nCurrentPos + ofs, + OUString aSymbolFont = lcl_GetSymbolFont(m_rDoc.GetAttrPool(), rNode, nCurrentPos + ofs, nCurrentPos + ofs + nLen); AttrOutput().RunText( aSnippet, eChrSet, aSymbolFont );
