summaryrefslogtreecommitdiff
path: root/package/source/zippackage/ZipPackageFolder.cxx
diff options
context:
space:
mode:
authorMikhail Voitenko <mav@openoffice.org>2006-10-19 13:30:06 +0000
committerMikhail Voitenko <mav@openoffice.org>2006-10-19 13:30:06 +0000
commit60f0eacac7236b54573e86f489f2d5d6f90bbebe (patch)
tree8e0aafc687763f9ee641c4a4f18d5a9f54b3d63e /package/source/zippackage/ZipPackageFolder.cxx
parentb56992299399e05df5c722ec6646381d03914d06 (diff)
#i70605# ucb is not ready for such a strict checking, comment it out for now
Diffstat (limited to 'package/source/zippackage/ZipPackageFolder.cxx')
-rw-r--r--package/source/zippackage/ZipPackageFolder.cxx14
1 files changed, 8 insertions, 6 deletions
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 );
}