diff -ur ooo_ooo64bit02_src.orig/sfx2/inc/sfxbasemodel.hxx ooo_ooo64bit02_src/sfx2/inc/sfxbasemodel.hxx --- ooo_ooo64bit02_src.orig/sfx2/inc/sfxbasemodel.hxx 2005-02-26 16:34:52.000000000 +0100 +++ ooo_ooo64bit02_src/sfx2/inc/sfxbasemodel.hxx 2005-02-26 18:30:21.000000000 +0100 @@ -1321,7 +1321,7 @@ virtual void SAL_CALL removeEventListener( const REFERENCE< XDOCEVENTLISTENER >& xListener ) throw( RUNTIMEEXCEPTION ); - virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException); + virtual sal_IntPtr SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException); //____________________________________________________________________________________________________ // SfxListener diff -ur ooo_ooo64bit02_src.orig/sfx2/source/doc/objxtor.cxx ooo_ooo64bit02_src/sfx2/source/doc/objxtor.cxx --- ooo_ooo64bit02_src.orig/sfx2/source/doc/objxtor.cxx 2005-02-26 16:34:52.000000000 +0100 +++ ooo_ooo64bit02_src/sfx2/source/doc/objxtor.cxx 2005-02-26 18:44:05.000000000 +0100 @@ -1044,13 +1044,13 @@ { ::com::sun::star::uno::Reference < ::com::sun::star::lang::XUnoTunnel > xObj( xDoc, UNO_QUERY ); ::com::sun::star::uno::Sequence < sal_Int8 > aSeq( SvGlobalName( SFX_GLOBAL_CLASSID ).GetByteSequence() ); - sal_Int64 nHandle = xObj->getSomething( aSeq ); + sal_IntPtr nHandle = xObj->getSomething( aSeq ); if ( nHandle ) - return (SfxObjectShell*) (sal_Int32*) nHandle; + return (SfxObjectShell*) (sal_IntPtr*) nHandle; } } - return 0; + return NULL; } SfxObjectShell* SfxObjectShell::CreateAndLoadObject( const SfxItemSet& rSet, SfxFrame* pFrame ) Only in ooo_ooo64bit02_src/sfx2/source/doc: objxtor.cxx~ diff -ur ooo_ooo64bit02_src.orig/sfx2/source/doc/sfxbasemodel.cxx ooo_ooo64bit02_src/sfx2/source/doc/sfxbasemodel.cxx --- ooo_ooo64bit02_src.orig/sfx2/source/doc/sfxbasemodel.cxx 2005-02-26 16:34:52.000000000 +0100 +++ ooo_ooo64bit02_src/sfx2/source/doc/sfxbasemodel.cxx 2005-02-26 18:39:44.000000000 +0100 @@ -3294,16 +3294,16 @@ m_pData->m_aInterfaceContainer.removeInterface( ::getCppuType((const REFERENCE< XPRINTJOBLISTENER >*)0), xListener ); } -sal_Int64 SAL_CALL SfxBaseModel::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException) +sal_IntPtr SAL_CALL SfxBaseModel::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException) { ::vos::OGuard aGuard( Application::GetSolarMutex() ); if ( !impl_isDisposed() && GetObjectShell() ) { SvGlobalName aName( aIdentifier ); if ( aName == SvGlobalName( SO3_GLOBAL_CLASSID ) ) - return (sal_Int64)(sal_Int32)(SvObject*)GetObjectShell(); + return (sal_IntPtr)(SvObject*)GetObjectShell(); else if ( aName == SvGlobalName( SFX_GLOBAL_CLASSID ) ) - return (sal_Int64)(sal_Int32)(SfxObjectShell*)GetObjectShell(); + return (sal_IntPtr)(SfxObjectShell*)GetObjectShell(); } return 0;