diff options
author | Martin Gallwey <mtg@openoffice.org> | 2001-12-11 14:39:48 +0000 |
---|---|---|
committer | Martin Gallwey <mtg@openoffice.org> | 2001-12-11 14:39:48 +0000 |
commit | d6f910f7985d75b04a52697eb28113fb61a2bc5e (patch) | |
tree | b7157a692e832f69e71828740c5439ecc361531a /package/source/zippackage/ZipPackage.cxx | |
parent | eae71420bc292844d3b40dde5cd26b47be78fc78 (diff) |
#94573# remove dummy property handling, as it is no longer necessary (KSO removed his code that required it)
Diffstat (limited to 'package/source/zippackage/ZipPackage.cxx')
-rw-r--r-- | package/source/zippackage/ZipPackage.cxx | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx index 42bb48083275..9d2f3c986828 100644 --- a/package/source/zippackage/ZipPackage.cxx +++ b/package/source/zippackage/ZipPackage.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ZipPackage.cxx,v $ * - * $Revision: 1.74 $ + * $Revision: 1.75 $ * - * last change: $Author: mtg $ $Date: 2001-12-06 12:07:08 $ + * last change: $Author: mtg $ $Date: 2001-12-11 15:39:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -941,8 +941,7 @@ void SAL_CALL ZipPackage::setPropertyValue( const OUString& aPropertyName, const if (!( aValue >>= aEncryptionKey ) ) throw IllegalArgumentException(); } - else if (! aPropertyName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("SegmentSize") ) ) - throw UnknownPropertyException(); + throw UnknownPropertyException(); } Any SAL_CALL ZipPackage::getPropertyValue( const OUString& PropertyName ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException) @@ -958,13 +957,7 @@ Any SAL_CALL ZipPackage::getPropertyValue( const OUString& PropertyName ) aAny <<= bHasEncryptedEntries; return aAny; } - else if (PropertyName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( "SegmentSize" ) ) ) - { - aAny <<= static_cast < sal_Int32 > ( 0 ); - return aAny; - } - else - throw UnknownPropertyException(); + throw UnknownPropertyException(); } void SAL_CALL ZipPackage::addPropertyChangeListener( const OUString& aPropertyName, const Reference< XPropertyChangeListener >& xListener ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException) |