]> git.pld-linux.org Git - packages/libreoffice.git/blob - openoffice-iso8859-2-html.patch
- DON'T hardcode java paths!
[packages/libreoffice.git] / openoffice-iso8859-2-html.patch
1 --- oo_1.0_src/svtools/source/svhtml/htmlout.cxx.jj     Thu Nov 29 12:41:03 2001
2 +++ oo_1.0_src/svtools/source/svhtml/htmlout.cxx        Fri Jul 12 21:16:44 2002
3 @@ -392,6 +392,15 @@ void lcl_ConvertCharToHTML( sal_Unicode 
4                 break;
5         }
6  
7 +       // Don't uglify ISO-8859-2 output unnecessarily
8 +       if( pStr && pStr[0] && eDestEnc == RTL_TEXTENCODING_ISO_8859_2 )
9 +       {
10 +               if( !strcmp( pStr + 1, "acute" ) && strchr( "iIyYaAeEoOuU", pStr[0] ) )
11 +                       pStr = 0;
12 +               else if( !strcmp( pStr + 1, "caron" ) && ( pStr[0] == 's' || pStr[0] == 'S' ) )
13 +                       pStr = 0;
14 +       }
15 +
16         if( pStr )
17         {
18                 ((rDest += '&') += pStr) += ';';
This page took 0.032869 seconds and 3 git commands to generate.