To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=103938 Issue #|103938 Summary|connectivity: wrong arguments to OUString::intern Component|Database access Version|DEV300m52 Platform|All URL| OS/Version|Linux Status|NEW Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|none Assigned to|fs Reported by|cmc
------- Additional comments from [email protected] Fri Jul 31 15:38:14 +0000 2009 ------- i.e. static OUString intern( const sal_Char * value, sal_Int32 length, rtl_TextEncoding encoding, sal_uInt32 convertFlags = OSTRING_TO_OUSTRING_CVTFLAGS, sal_uInt32 *pInfo = NULL ) # define RTL_CONSTASCII_USTRINGPARAM( constAsciiStr ) constAsciiStr, ((sal_Int32)(sizeof(constAsciiStr)-1)), RTL_TEXTENCODING_ASCII_US but in connectivity/source/commontools/sqlerror.cxx we have... sState = ::rtl::OUString::intern( RTL_CONSTASCII_USTRINGPARAM( "S1000" ), 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]
