diff options
author | Martin Gallwey <mtg@openoffice.org> | 2000-11-21 09:41:00 +0000 |
---|---|---|
committer | Martin Gallwey <mtg@openoffice.org> | 2000-11-21 09:41:00 +0000 |
commit | ad0ce5f932a04cdd13912800183890614c7c2b95 (patch) | |
tree | 659b444d237f6849b44755f1d61b5a916d72d3c9 /package/source/zippackage/ZipPackageEntry.cxx | |
parent | 6ba846b8707d60439e45c75976781da582a8a0d5 (diff) |
*** empty log message ***
Diffstat (limited to 'package/source/zippackage/ZipPackageEntry.cxx')
-rw-r--r-- | package/source/zippackage/ZipPackageEntry.cxx | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/package/source/zippackage/ZipPackageEntry.cxx b/package/source/zippackage/ZipPackageEntry.cxx deleted file mode 100644 index 66df06e76944..000000000000 --- a/package/source/zippackage/ZipPackageEntry.cxx +++ /dev/null @@ -1,65 +0,0 @@ - -#ifndef _ZIP_PACKAGE_ENTRY_HXX -#include "ZipPackageEntry.hxx" -#endif - -using namespace com::sun::star; -ZipPackageEntry::ZipPackageEntry (void) -{ -} - -ZipPackageEntry::~ZipPackageEntry( void ) -{ -} - -uno::Any SAL_CALL ZipPackageEntry::queryInterface( const uno::Type& rType ) - throw(uno::RuntimeException) -{ - // Ask for my own supported interfaces ... - uno::Any aReturn ( ::cppu::queryInterface ( rType , - static_cast< container::XNamed* > ( this ) , - static_cast< container::XChild* > ( this ) ) ); - - // If searched interface supported by this class ... - if ( aReturn.hasValue () == sal_True ) - { - // ... return this information. - return aReturn ; - } - else - { - // Else; ... ask baseclass for interfaces! - return OWeakObject::queryInterface ( rType ) ; - } -} -void SAL_CALL ZipPackageEntry::acquire( ) - throw() -{ - OWeakObject::acquire(); -} -void SAL_CALL ZipPackageEntry::release( ) - throw() -{ - OWeakObject::release(); -} - // XChild -::rtl::OUString SAL_CALL ZipPackageEntry::getName( ) - throw(uno::RuntimeException) -{ - return aEntry.sName; -} -void SAL_CALL ZipPackageEntry::setName( const ::rtl::OUString& aName ) - throw(uno::RuntimeException) -{ - aEntry.sName = aName; -} -uno::Reference< uno::XInterface > SAL_CALL ZipPackageEntry::getParent( ) - throw(uno::RuntimeException) -{ - return xParent; -} -void SAL_CALL ZipPackageEntry::setParent( const uno::Reference< uno::XInterface >& Parent ) - throw(lang::NoSupportException, uno::RuntimeException) -{ - xParent = Parent; -} |