sc/source/core/tool/stringutil.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
New commits: commit 337ef5808dd8e55c06d00b222e69c5ba287acab5 Author: gerhard oettl <lo...@ogersoft.at> Date: Sat Sep 1 20:21:14 2012 +0200 fdo#39468: Translated German comments in sc/source/core/tool Change-Id: I0fe94ebc9751ebfa25851a482244fda9ddac5bbb Reviewed-on: https://gerrit.libreoffice.org/585 Reviewed-by: Thomas Arnhold <tho...@arnhold.org> Tested-by: Thomas Arnhold <tho...@arnhold.org> diff --git a/sc/source/core/tool/stringutil.cxx b/sc/source/core/tool/stringutil.cxx index 60ba286..c20b554 100644 --- a/sc/source/core/tool/stringutil.cxx +++ b/sc/source/core/tool/stringutil.cxx @@ -197,7 +197,7 @@ xub_StrLen ScStringUtil::GetQuotedTokenCount(const UniString &rIn, const UniStri assert( !(rQuotedPairs.Len()%2) ); assert( rQuotedPairs.Search(cTok) ); - // Leerer String: TokenCount per Definition 0 + // empty string: TokenCount is 0 per definition if ( !rIn.Len() ) return 0; @@ -213,13 +213,13 @@ xub_StrLen ScStringUtil::GetQuotedTokenCount(const UniString &rIn, const UniStri sal_Unicode c = *pStr; if ( cQuotedEndChar ) { - // Ende des Quotes erreicht ? + // reached end of the quote ? if ( c == cQuotedEndChar ) cQuotedEndChar = 0; } else { - // Ist das Zeichen ein Quote-Anfang-Zeichen ? + // Is the char a quote-beginn char ? xub_StrLen nQuoteIndex = 0; while ( nQuoteIndex < nQuotedLen ) { @@ -232,7 +232,7 @@ xub_StrLen ScStringUtil::GetQuotedTokenCount(const UniString &rIn, const UniStri nQuoteIndex += 2; } - // Stimmt das Tokenzeichen ueberein, dann erhoehe TokCount + // If the token-char matches then increase TokCount if ( c == cTok ) ++nTokCount; } @@ -259,20 +259,20 @@ UniString ScStringUtil::GetQuotedToken(const UniString &rIn, xub_StrLen nToken, xub_StrLen nFirstChar = rIndex; xub_StrLen i = nFirstChar; - // Bestimme die Token-Position und Laenge + // detect token position and length pStr += i; while ( i < nLen ) { sal_Unicode c = *pStr; if ( cQuotedEndChar ) { - // Ende des Quotes erreicht ? + // end of the quote reached ? if ( c == cQuotedEndChar ) cQuotedEndChar = 0; } else { - // Ist das Zeichen ein Quote-Anfang-Zeichen ? + // Is the char a quote-begin char ? xub_StrLen nQuoteIndex = 0; while ( nQuoteIndex < nQuotedLen ) { @@ -285,7 +285,7 @@ UniString ScStringUtil::GetQuotedToken(const UniString &rIn, xub_StrLen nToken, nQuoteIndex += 2; } - // Stimmt das Tokenzeichen ueberein, dann erhoehe TokCount + // If the token-char matches then increase TokCount if ( c == cTok ) { ++nTok; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits