summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/source/zippackage/ZipPackage.cxx9
-rw-r--r--package/source/zippackage/ZipPackageFolder.cxx14
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 );
}