To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=52932
                  Issue #:|52932
                  Summary:|Supcicious code in layout code discovered
                Component:|gsl
                  Version:|680m122
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|PATCH
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|pl
              Reported by:|pl





------- Additional comments from [EMAIL PROTECTED] Fri Aug  5 02:02:36 -0700 
2005 -------
On behalf of JM:

 ./src680-m121/psprint/source/printergfx/text_gfx.cxx, line 139:
and ./src680-m121/vcl/source/gdi/sallayout.cxx, line 107:

The condition
        if( nChar == 0x2010 || nChar == 0x2015
        ||  nChar == 0x2016 || nChar == 0x2026
is always false, due to first if.

./src680-m121/vcl/unx/source/gdi/salcvt.cxx, lines
169-172:
                case RTL_TEXTENCODING_MS_1252:
                case RTL_TEXTENCODING_ISO_8859_1:
                        bMatch =        ( nChar >= 0x0000 && nChar <= 0x00ff )
                ||      ( nChar == 0x20ac )
and 253-258:
                case RTL_TEXTENCODING_ISO_8859_15:
                        bMatch =        ( nChar >= 0x0020 && nChar <= 0x007e )
                                        ||      ( nChar >= 0x00a0 && nChar <= 
0x00ff )
                                        ||      ( nChar >= 0x0152 && nChar <= 
0x017e )
                                        ||  ( nChar == 0x20ac );
                        break;

as, according to:
    8859-1:   http://www.tachyonsoft.com/iso88591.htm
and 8859-15:  http://www.tachyonsoft.com/iso8859f.htm

these two codings differ about just few characers in the range 0x00a0 - 0x00bf,
and euro sign is in ISO-8859-15, ISO Latin-9
but not in ISO-8859-1, ISO Latin-1 Western European.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to