diff options
author | Mark Wolf <mark.wolf.music@gmail.com> | 2012-04-04 17:35:53 -0400 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-04-05 12:33:59 +0200 |
commit | 8307fe9f65ef6011014d75041b3ddbc90d421b6a (patch) | |
tree | 5bb58aee1cc96b97608564d207ba2dfa13b84c1a /sal/textenc | |
parent | 1cb273098188b5749109b8f58516e7003600a704 (diff) |
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.cxx | 26 |
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; |