summaryrefslogtreecommitdiffstats
path: root/sal/textenc
diff options
context:
space:
mode:
authorMark Wolf <mark.wolf.music@gmail.com>2012-04-04 17:35:53 -0400
committerJan Holesovsky <kendy@suse.cz>2012-04-05 12:33:59 +0200
commit8307fe9f65ef6011014d75041b3ddbc90d421b6a (patch)
tree5bb58aee1cc96b97608564d207ba2dfa13b84c1a /sal/textenc
parentn#751017 dmapper: fix handling of GetExpression and SetExpression fields (diff)
downloadcore-8307fe9f65ef6011014d75041b3ddbc90d421b6a.tar.gz
core-8307fe9f65ef6011014d75041b3ddbc90d421b6a.zip
Translated German comments to English in folder 'sal'.
sal/qa/rtl_strings/rtl_old_testostring.cxx contains some German comments still but the code itself uses test strings in German. When the test strings appear in the comments, they were left unchanged to maintain consistency. Mark Wolf
Diffstat (limited to 'sal/textenc')
-rw-r--r--sal/textenc/tcvtmb.cxx26
1 files changed, 12 insertions, 14 deletions
diff --git a/sal/textenc/tcvtmb.cxx b/sal/textenc/tcvtmb.cxx
index cea7cda42d9e..c696c8482619 100644
--- a/sal/textenc/tcvtmb.cxx
+++ b/sal/textenc/tcvtmb.cxx
@@ -160,13 +160,12 @@ sal_Size ImplDBCSToUnicode( const void* pData, SAL_UNUSED_PARAMETER void*,
if ( !cConv )
{
- /* Wir vergleichen den kompletten Trailbereich den wir */
- /* definieren, der normalerweise groesser sein kann als */
- /* der definierte. Dies machen wir, damit Erweiterungen von */
- /* uns nicht beruecksichtigten Encodings so weit wie */
- /* moeglich auch richtig zu behandeln, das double byte */
- /* characters auch als ein einzelner Character behandelt */
- /* wird. */
+ /* We compare the full range of the trail we defined, */
+ /* which can often be greater than the limit. We do this */
+ /* so that extensions that don't consider encodings */
+ /* correctly treat double-byte characters as a single */
+ /* character as much as possible. */
+
if (cLead < pConvertData->mnLeadStart
|| cLead > pConvertData->mnLeadEnd
|| cTrail < pConvertData->mnTrailStart
@@ -489,13 +488,12 @@ sal_Size ImplEUCJPToUnicode( const void* pData,
if ( !cConv )
{
- /* Wir vergleichen den kompletten Trailbereich den wir */
- /* definieren, der normalerweise groesser sein kann als */
- /* der definierte. Dies machen wir, damit Erweiterungen von */
- /* uns nicht beruecksichtigten Encodings so weit wie */
- /* moeglich auch richtig zu behandeln, das double byte */
- /* characters auch als ein einzelner Character behandelt */
- /* wird. */
+ /* We compare the full range of the trail we defined, */
+ /* which can often be greater than the limit. We do this */
+ /* so that extensions that don't consider encodings */
+ /* correctly treat double-byte characters as a single */
+ /* character as much as possible. */
+
if ( (cLead < JIS_EUC_LEAD_OFF) || (cTrail < JIS_EUC_TRAIL_OFF) )
{
*pInfo |= RTL_TEXTTOUNICODE_INFO_INVALID;