--- ww8par.1.185.cxx 2008-04-05 06:13:58.819000000 +0000 +++ ww8par.cxx 2008-04-05 07:04:15.638000000 +0000 @@ -2523,13 +2523,13 @@ sal_Unicode Custom8BitToUnicode(rtl_Text return cChar; } -sal_Unicode SwWW8ImplReader::TranslateToHindiNumbers(sal_Unicode nChar) -{ - if (nChar >= 0x0030 && nChar <= 0x0039) - return nChar + 0x0630; +// sal_Unicode SwWW8ImplReader::TranslateToHindiNumbers(sal_Unicode nChar) +// { +// if (nChar >= 0x0030 && nChar <= 0x0039) +// return nChar + 0x0630; - return nChar; -} +// return nChar; +// } // Returnwert: true for no Sonderzeichen bool SwWW8ImplReader::ReadPlainChars(WW8_CP& rPos, long nEnd, long nCpOfs) @@ -2614,10 +2614,16 @@ bool SwWW8ImplReader::ReadPlainChars(WW8 else *pWork = Custom8BitToUnicode(hConverter, nBCode); - if (nIdctHint == 2) - { - *pWork = TranslateToHindiNumbers(*pWork); - } + // #i86811# + // The following code was introduced to fix #i81577 + // This doesn't make sense + // Digits should be digits + // Display is another story... + + // if (nIdctHint == 2) + // { + // *pWork = TranslateToHindiNumbers(*pWork); + // } } if (nL2)