To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=53859
                  Issue #:|53859
                  Summary:|#ifdef ERRCODE_IO_INVALIDLENGTH in resources
                Component:|framework
                  Version:|current
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|tm
              Reported by:|pjanik





------- Additional comments from [EMAIL PROTECTED] Sat Aug 27 13:27:08 -0700 
2005 -------
Hi,

while working on #i53727#, I found this.

This define is defined in tools/inc/errcode.hxx:

#define ERRCODE_IO_INVALIDLENGTH          (32UL |ERRCODE_CLASS_PARAMETER|\
                                                                               
 ERRCODE_AREA_IO)

It is then used in the resource files and GSI files because the file
svtools/source/misc/errtxt.src contains:

#ifdef ERRCODE_IO_INVALIDLENGTH
        String ERRCODE_IO_INVALIDLENGTH
        {
                Text [ de ] = "Ung|ltige Datenldnge." ;
                Text [ en-US ] = "Invalid data length." ;
        };
...
       String ERRCODE_IO_WRITEPROTECTED
        {
                Text [ de ] = "Funktion unmvglich: Schreibgesch|tzt." ;
                Text [ en-US ] = "Function not possible: write protected." ;
        };
#endif

Can we please remove this #ifdef and corresponding #endif so we do not use
conditionals in resources?

---------------------------------------------------------------------
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