diff options
author | Mikhail Voitenko <mav@openoffice.org> | 2006-10-19 13:30:06 +0000 |
---|---|---|
committer | Mikhail Voitenko <mav@openoffice.org> | 2006-10-19 13:30:06 +0000 |
commit | 60f0eacac7236b54573e86f489f2d5d6f90bbebe (patch) | |
tree | 8e0aafc687763f9ee641c4a4f18d5a9f54b3d63e /package/source/zippackage | |
parent | b56992299399e05df5c722ec6646381d03914d06 (diff) |
#i70605# ucb is not ready for such a strict checking, comment it out for now
Diffstat (limited to 'package/source/zippackage')
-rw-r--r-- | package/source/zippackage/ZipPackage.cxx | 9 | ||||
-rw-r--r-- | package/source/zippackage/ZipPackageFolder.cxx | 14 |
2 files changed, 13 insertions, 10 deletions
diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx index c74c6ff1f9e5..089eaeeb1843 100644 --- a/package/source/zippackage/ZipPackage.cxx +++ b/package/source/zippackage/ZipPackage.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ZipPackage.cxx,v $ * - * $Revision: 1.106 $ + * $Revision: 1.107 $ * - * last change: $Author: obo $ $Date: 2006-10-13 11:51:35 $ + * last change: $Author: mav $ $Date: 2006-10-19 14:30:06 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1643,8 +1643,9 @@ void SAL_CALL ZipPackage::setPropertyValue( const OUString& aPropertyName, const Any SAL_CALL ZipPackage::getPropertyValue( const OUString& PropertyName ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException) { - if ( m_nFormat != PACKAGE_FORMAT ) - throw UnknownPropertyException(); + // TODO/LATER: Activate the check when zip-ucp is ready + // if ( m_nFormat != PACKAGE_FORMAT ) + // throw UnknownPropertyException(); Any aAny; if (PropertyName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( "EncryptionKey" ) ) ) diff --git a/package/source/zippackage/ZipPackageFolder.cxx b/package/source/zippackage/ZipPackageFolder.cxx index e23f1287db17..c474ef990f76 100644 --- a/package/source/zippackage/ZipPackageFolder.cxx +++ b/package/source/zippackage/ZipPackageFolder.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ZipPackageFolder.cxx,v $ * - * $Revision: 1.82 $ + * $Revision: 1.83 $ * - * last change: $Author: obo $ $Date: 2006-10-13 11:52:06 $ + * last change: $Author: mav $ $Date: 2006-10-19 14:30:06 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -727,8 +727,9 @@ void SAL_CALL ZipPackageFolder::setPropertyValue( const OUString& aPropertyName, { if (aPropertyName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("MediaType"))) { - if ( m_nFormat != PACKAGE_FORMAT ) - throw UnknownPropertyException(); + // TODO/LATER: activate when zip ucp is ready + // if ( m_nFormat != PACKAGE_FORMAT ) + // throw UnknownPropertyException(); aValue >>= sMediaType; } @@ -742,8 +743,9 @@ Any SAL_CALL ZipPackageFolder::getPropertyValue( const OUString& PropertyName ) { if (PropertyName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "MediaType" ) ) ) { - if ( m_nFormat != PACKAGE_FORMAT ) - throw UnknownPropertyException(); + // TODO/LATER: activate when zip ucp is ready + // if ( m_nFormat != PACKAGE_FORMAT ) + // throw UnknownPropertyException(); return makeAny ( sMediaType ); } |