main/framework/source/services/frame.cxx
//*****************************************************************************************************************
// Its allowed to reset the active frame membervariable with a NULL-css::uno::Reference but not with a NULL-pointer!
// And we accept frames only! No tasks and desktops!
Its allowed to reset the active frame membervariable with a NULL-css::uno::Reference but not with a NULL-pointer.
And we accept frames only. No tasks and desktops!
Its allowed to reset the active frame membervariable with a NULL - css :: uno :: Reference but not with a NULL - pointer . And we accept frames only . No tasks and desktops!
sal_Bool Frame::implcp_setActiveFrame( const css::uno::Reference< css::frame::XFrame >& xFrame )
{
	return	(
                ( &xFrame                                                                                   ==  NULL        )   ||
                ( css::uno::Reference< css::frame::XDesktop >( xFrame, css::uno::UNO_QUERY ).is()           ==  sal_True    )
			);
}
sal_Bool Frame :: implcp_setActiveFrame ( const css :: uno :: Reference < css :: frame :: XFrame > & xFrame ) { return ( ( & xFrame == NULL ) || ( css :: uno :: Reference < css :: frame :: XDesktop > ( xFrame , css :: uno :: UNO_QUERY ) . is ( ) == sal_True ) ) ; }
Its allowed to reset the active frame membervariable with a NULL-css::uno::Reference but not with a NULL-pointer!
Its allowed to reset the active frame membervariable with a NULL - css :: uno :: Reference but not with a NULL - pointer!