move var closer to use
Change-Id: I557765b4c9af4c28955c1310644ce3be88035a03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199120 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user