sw/source/filter/ww8/docxattributeoutput.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
New commits: commit 824c902f52e194b463a0d042f71a27aeac4dcc17 Author: Johnny_M <[email protected]> Date: Sat Mar 10 11:42:04 2018 +0100 Translate German variable names Akt -> Current in docxattributeoutput Change-Id: I9139eeb3cc4f893b9d6ae60b8373641e467b34e9 Reviewed-on: https://gerrit.libreoffice.org/51029 Tested-by: Jenkins <[email protected]> Reviewed-by: Michael Stahl <[email protected]> diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 3e4c9396f99b..1cde1640af0b 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -5547,7 +5547,7 @@ void DocxAttributeOutput::WriteOutliner(const OutlinerParaObject& rParaObj) aAttrIter.NextPara( n ); OUString aStr( rEditObj.GetText( n )); - sal_Int32 nAktPos = 0; + sal_Int32 nCurrentPos = 0; sal_Int32 nEnd = aStr.getLength(); StartParagraph(ww8::WW8TableNodeInfo::Pointer_t()); @@ -5565,14 +5565,14 @@ void DocxAttributeOutput::WriteOutliner(const OutlinerParaObject& rParaObj) // Write run properties. m_pSerializer->startElementNS(XML_w, XML_rPr, FSEND); - aAttrIter.OutAttr(nAktPos); + aAttrIter.OutAttr(nCurrentPos); WriteCollectedRunProperties(); m_pSerializer->endElementNS(XML_w, XML_rPr); - bool bTextAtr = aAttrIter.IsTextAttr( nAktPos ); + bool bTextAtr = aAttrIter.IsTextAttr( nCurrentPos ); if( !bTextAtr ) { - OUString aOut( aStr.copy( nAktPos, nNextAttr - nAktPos ) ); + OUString aOut( aStr.copy( nCurrentPos, nNextAttr - nCurrentPos ) ); RunText(aOut); } @@ -5585,10 +5585,10 @@ void DocxAttributeOutput::WriteOutliner(const OutlinerParaObject& rParaObj) m_pSerializer->endElementNS( XML_w, XML_r ); - nAktPos = nNextAttr; + nCurrentPos = nNextAttr; aAttrIter.NextPos(); } - while( nAktPos < nEnd ); + while( nCurrentPos < nEnd ); // Word can't handle nested text boxes, so write them on the same level. ++m_nTextFrameLevel; EndParagraph(ww8::WW8TableNodeInfoInner::Pointer_t()); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
