Lines 3294-3309
Link Here
|
3294 |
m_pData->m_aInterfaceContainer.removeInterface( ::getCppuType((const REFERENCE< XPRINTJOBLISTENER >*)0), xListener ); |
3294 |
m_pData->m_aInterfaceContainer.removeInterface( ::getCppuType((const REFERENCE< XPRINTJOBLISTENER >*)0), xListener ); |
3295 |
} |
3295 |
} |
3296 |
|
3296 |
|
3297 |
sal_Int64 SAL_CALL SfxBaseModel::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException) |
3297 |
sal_IntPtr SAL_CALL SfxBaseModel::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException) |
3298 |
{ |
3298 |
{ |
3299 |
::vos::OGuard aGuard( Application::GetSolarMutex() ); |
3299 |
::vos::OGuard aGuard( Application::GetSolarMutex() ); |
3300 |
if ( !impl_isDisposed() && GetObjectShell() ) |
3300 |
if ( !impl_isDisposed() && GetObjectShell() ) |
3301 |
{ |
3301 |
{ |
3302 |
SvGlobalName aName( aIdentifier ); |
3302 |
SvGlobalName aName( aIdentifier ); |
3303 |
if ( aName == SvGlobalName( SO3_GLOBAL_CLASSID ) ) |
3303 |
if ( aName == SvGlobalName( SO3_GLOBAL_CLASSID ) ) |
3304 |
return (sal_Int64)(sal_Int32)(SvObject*)GetObjectShell(); |
3304 |
return (sal_IntPtr)(SvObject*)GetObjectShell(); |
3305 |
else if ( aName == SvGlobalName( SFX_GLOBAL_CLASSID ) ) |
3305 |
else if ( aName == SvGlobalName( SFX_GLOBAL_CLASSID ) ) |
3306 |
return (sal_Int64)(sal_Int32)(SfxObjectShell*)GetObjectShell(); |
3306 |
return (sal_IntPtr)(SfxObjectShell*)GetObjectShell(); |
3307 |
} |
3307 |
} |
3308 |
|
3308 |
|
3309 |
return 0; |
3309 |
return 0; |