To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90178





------- Additional comments from [EMAIL PROTECTED] Tue Jun  3 15:20:42 +0000 
2008 -------
ok, I see what's going on here.

originally in tools/inc/tools/resmgr.hxx

#define CREATEVERSIONRESMGR_NAME( Name )   #Name MAKE_NUMSTR( SUPD )
#define CREATEVERSIONRESMGR( Name ) ResMgr::CreateResMgr(
CREATEVERSIONRESMGR_NAME( Name ) )

in the DEV300 series has changed to ....

#define CREATEVERSIONRESMGR_NAME( Name )   #Name
#define CREATEVERSIONRESMGR( Name )        ResMgr::CreateResMgr( #Name )

and in resourceprovider.cxx we have 
#define RES_NAME fps_office
...
m_ResMgr = CREATEVERSIONRESMGR( RES_NAME );

e.g. take the following test and use gcc -E on it 
#define FOO svt

#define CREATEVERSIONRESMGR_NAME( Name )   #Name
#define CREATEVERSIONRESMGR( Name )        ResMgr::CreateResMgr( #Name )
CREATEVERSIONRESMGR( FOO )
#undef CREATEVERSIONRESMGR_NAME
#undef CREATEVERSIONRESMGR
#define CREATEVERSIONRESMGR_NAME( Name )   #Name
#define CREATEVERSIONRESMGR( Name )        ResMgr::CreateResMgr(
CREATEVERSIONRESMGR_NAME( Name ) )
CREATEVERSIONRESMGR( FOO )

the outcome is that what used to be 
ResMgr::CreateResMgr( "svt" )
now becomes
ResMgr::CreateResMgr( "FOO" )

I suggest that the safest fix is probably to change tools from
#define CREATEVERSIONRESMGR( Name )        ResMgr::CreateResMgr( #Name )
back to 
#define CREATEVERSIONRESMGR( Name )        ResMgr::CreateResMgr(
CREATEVERSIONRESMGR_NAME( Name ) )

so as to get the same expansion rules, otherwise I can certainly change the
gnome usage for this one case. 

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