diff options
author | gerhard oettl <lodev@ogersoft.at> | 2012-09-01 20:21:14 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-09-09 09:12:37 +0000 |
commit | 337ef5808dd8e55c06d00b222e69c5ba287acab5 (patch) | |
tree | 2c9d5c5f578e4a2be4839bb2460f0a866f4aba5d | |
parent | 8fee2f6030a9d408517046ca221e06625f852bad (diff) |
fdo#39468: Translated German comments in sc/source/core/tool
Change-Id: I0fe94ebc9751ebfa25851a482244fda9ddac5bbb
Reviewed-on: https://gerrit.libreoffice.org/585
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
-rw-r--r-- | sc/source/core/tool/stringutil.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/core/tool/stringutil.cxx b/sc/source/core/tool/stringutil.cxx index 60ba286034a1..c20b5543a542 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; |