[Libreoffice-commits] core.git: sw/source

Johnny_M klasse at partyheld.de
Tue Mar 13 12:09:18 UTC 2018


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

New commits:
commit 82387d71d7495088664c3854ef9c6ff617278aff
Author: Johnny_M <klasse at partyheld.de>
Date:   Sat Mar 10 11:38:46 2018 +0100

    Translate German variable names
    
    Akt -> Current in rtfsdrexport
    
    Change-Id: I87fd3c26f785771bb7bef252ce6a99f0e1a5875f
    Reviewed-on: https://gerrit.libreoffice.org/51031
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx
index 42767872be02..981be1e338c2 100644
--- a/sw/source/filter/ww8/rtfsdrexport.cxx
+++ b/sw/source/filter/ww8/rtfsdrexport.cxx
@@ -688,7 +688,7 @@ void RtfSdrExport::WriteOutliner(const OutlinerParaObject& rParaObj, TextTypes e
         rtl_TextEncoding eChrSet = aAttrIter.GetNodeCharSet();
 
         OUString aStr(rEditObj.GetText(n));
-        sal_Int32 nAktPos = 0;
+        sal_Int32 nCurrentPos = 0;
         const sal_Int32 nEnd = aStr.getLength();
 
         aAttrIter.OutParaAttr(false);
@@ -700,24 +700,24 @@ void RtfSdrExport::WriteOutliner(const OutlinerParaObject& rParaObj, TextTypes e
             const sal_Int32 nNextAttr = std::min(aAttrIter.WhereNext(), nEnd);
             rtl_TextEncoding eNextChrSet = aAttrIter.GetNextCharSet();
 
-            aAttrIter.OutAttr(nAktPos);
+            aAttrIter.OutAttr(nCurrentPos);
             m_rAttrOutput.RunText().append('{');
             m_rAttrOutput.RunText().append(m_rAttrOutput.Styles().makeStringAndClear());
             m_rAttrOutput.RunText().append(m_rAttrOutput.StylesEnd().makeStringAndClear());
             m_rAttrOutput.RunText().append(SAL_NEWLINE_STRING);
-            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));
                 m_rAttrOutput.RunText().append(msfilter::rtfutil::OutString(aOut, eChrSet));
             }
 
             m_rAttrOutput.RunText().append('}');
 
-            nAktPos = nNextAttr;
+            nCurrentPos = nNextAttr;
             eChrSet = eNextChrSet;
             aAttrIter.NextPos();
-        } while (nAktPos < nEnd);
+        } while (nCurrentPos < nEnd);
         if (bShape || n + 1 < nPara)
             m_rAttrOutput.RunText().append(OOO_STRING_SVTOOLS_RTF_PAR);
     }


More information about the Libreoffice-commits mailing list