diff options
Diffstat (limited to 'framework/source/helper/ocomponentaccess.cxx')
-rw-r--r-- | framework/source/helper/ocomponentaccess.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/framework/source/helper/ocomponentaccess.cxx b/framework/source/helper/ocomponentaccess.cxx index f8679988eff1..63238bc90416 100644 --- a/framework/source/helper/ocomponentaccess.cxx +++ b/framework/source/helper/ocomponentaccess.cxx @@ -34,7 +34,6 @@ using namespace ::cppu ; using namespace ::osl ; using namespace ::rtl ; - // constructor OComponentAccess::OComponentAccess( const css::uno::Reference< XDesktop >& xOwner ) @@ -44,14 +43,12 @@ OComponentAccess::OComponentAccess( const css::uno::Reference< XDesktop >& xOwne SAL_WARN_IF( !impldbg_checkParameter_OComponentAccessCtor( xOwner ), "fwk", "OComponentAccess::OComponentAccess(): Invalid parameter detected!" ); } - // destructor OComponentAccess::~OComponentAccess() { } - // XEnumerationAccess css::uno::Reference< XEnumeration > SAL_CALL OComponentAccess::createEnumeration() throw( RuntimeException, std::exception ) { @@ -79,7 +76,6 @@ css::uno::Reference< XEnumeration > SAL_CALL OComponentAccess::createEnumeration return xReturn; } - // XElementAccess Type SAL_CALL OComponentAccess::getElementType() throw( RuntimeException, std::exception ) { @@ -88,7 +84,6 @@ Type SAL_CALL OComponentAccess::getElementType() throw( RuntimeException, std::e return ::getCppuType((const css::uno::Reference< XComponent >*)NULL); } - // XElementAccess sal_Bool SAL_CALL OComponentAccess::hasElements() throw( RuntimeException, std::exception ) { @@ -109,7 +104,6 @@ sal_Bool SAL_CALL OComponentAccess::hasElements() throw( RuntimeException, std:: return bReturn; } - // private method void OComponentAccess::impl_collectAllChildComponents( const css::uno::Reference< XFramesSupplier >& xNode , @@ -143,7 +137,6 @@ void OComponentAccess::impl_collectAllChildComponents( const css::uno::Refere // ... otherwise break a recursive path and go back at current stack! } - // private method css::uno::Reference< XComponent > OComponentAccess::impl_getFrameComponent( const css::uno::Reference< XFrame >& xFrame ) const @@ -176,10 +169,8 @@ css::uno::Reference< XComponent > OComponentAccess::impl_getFrameComponent( cons return xComponent; } - // debug methods - /*----------------------------------------------------------------------------------------------------------------- The follow methods checks the parameter for other functions. If a parameter or his value is non valid, we return "sal_False". (else sal_True) This mechanism is used to throw an ASSERT! @@ -190,7 +181,6 @@ css::uno::Reference< XComponent > OComponentAccess::impl_getFrameComponent( cons But ... look for right testing! See using of this methods! -----------------------------------------------------------------------------------------------------------------*/ - sal_Bool OComponentAccess::impldbg_checkParameter_OComponentAccessCtor( const css::uno::Reference< XDesktop >& xOwner ) { return xOwner.is(); |