To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=103924
                 Issue #|103924
                 Summary|tools: wrong arguments to OUString
               Component|framework
                 Version|DEV300m52
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|cd
             Reported by|cmc





------- Additional comments from [email protected] Fri Jul 31 09:04:08 +0000 
2009 -------
i.e.

OUString( const sal_Char * value, sal_Int32 length,
  rtl_TextEncoding encoding,
  sal_uInt32 convertFlags = OSTRING_TO_OUSTRING_CVTFLAGS )


# define RTL_CONSTASCII_USTRINGPARAM( constAsciiStr ) constAsciiStr,
((sal_Int32)(sizeof(constAsciiStr)-1)), RTL_TEXTENCODING_ASCII_US

but in tools/source/fsys/urlobj.cxx we have...

rtl::OUStringBuffer aSynAbsURIRef(
  rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file://"),
     RTL_TEXTENCODING_ASCII_US));

i.e. this passes RTL_TEXTENCODING_ASCII_US as the *convertFlags* value, which is
obviously not what was intended

we happen to get away with it in this case of course.

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