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





------- Additional comments from [EMAIL PROTECTED] Mon Feb 28 01:29:16 -0800 
2005 -------
Sorry, but this patch doesn't work.

You can't change the return type of a method defined by an IDL interface.
Does it work if you change the code in the following way:

in objxtor.cxx:

sal_Int64 nHandle = xObj->getSomething( aSeq );
if ( nHandle )
    return (SfxObjectShell*) (sal_IntPtr) nHandle;

in sfxbasemodel.cxx

if ( aName == SvGlobalName( SO3_GLOBAL_CLASSID ) )
    return (sal_Int64)(sal_IntPtr)(SvObject*)GetObjectShell();
else if ( aName == SvGlobalName( SFX_GLOBAL_CLASSID ) )
    return (sal_Int64)(sal_IntPtr)(SfxObjectShell*)GetObjectShell();

sfxbasemodel.hxx stays unchanged now.

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