To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=103926
                 Issue #|103926
                 Summary|rdbmaker: misuse of RTL_CONSTASCII_USTRINGPARAM
               Component|udk
                 Version|DEV300m52
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|kr
             Reported by|cmc





------- Additional comments from [email protected] Fri Jul 31 09:18:05 +0000 
2009 -------
# define RTL_CONSTASCII_USTRINGPARAM( constAsciiStr ) constAsciiStr,
((sal_Int32)(sizeof(constAsciiStr)-1)), RTL_TEXTENCODING_ASCII_US

rdbmaker/inc/codemaker/global.hxx has...

inline const ::rtl::OString inGlobalSet(sal_Char* p)
{
    return inGlobalSet( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(p) ) );
}

i.e. basically ::rtl::OUString(p, 3 /*sizeof(void*)-1*/, 
RTL_TEXTENCODING_ASCII_US);

Luckily enough that function isn't used anywhere, so we can just delete it as
attached

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