summaryrefslogtreecommitdiff
path: root/ucb/source/core/ucbstore.cxx
diff options
context:
space:
mode:
authorKai Sommerfeld <kso@openoffice.org>2001-04-09 12:19:08 +0000
committerKai Sommerfeld <kso@openoffice.org>2001-04-09 12:19:08 +0000
commita30a56b4cced4cad736c4dfbb1d3875d6573ac16 (patch)
treefc0ea4c74b762852cf8288b98cbb7f34c3025add /ucb/source/core/ucbstore.cxx
parentde332cc5602b862f460c7908926ba011d2799020 (diff)
#85858# - Removed wrong assert from PropertySetInfo_Impl::getProperties and
PersistentPropertySet::getPropertyValues.
Diffstat (limited to 'ucb/source/core/ucbstore.cxx')
-rw-r--r--ucb/source/core/ucbstore.cxx21
1 files changed, 9 insertions, 12 deletions
diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx
index f8d33c208496..f4230be9a230 100644
--- a/ucb/source/core/ucbstore.cxx
+++ b/ucb/source/core/ucbstore.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ucbstore.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: kso $ $Date: 2001-04-05 09:49:55 $
+ * last change: $Author: kso $ $Date: 2001-04-09 13:19:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2363,10 +2363,9 @@ Sequence< PropertyValue > SAL_CALL PersistentPropertySet::getPropertyValues()
= xHierNameAccess->getByHierarchicalName(
aHierName );
- if ( !rValue.Value.hasValue() )
- OSL_ENSURE( sal_False,
- "PersistentPropertySet::getPropertyValues - "
- "Error getting property value!" );
+ // Note: The value may be void if addProperty
+ // was called with a default value
+ // of type void.
}
catch ( NoSuchElementException& )
{
@@ -2796,13 +2795,11 @@ Sequence< Property > SAL_CALL PropertySetInfo_Impl::getProperties()
= xHierNameAccess->getByHierarchicalName(
aHierName );
- if ( !aKeyValue.hasValue() )
- OSL_ENSURE( sal_False,
- "PropertySetInfo_Impl::getProperties - "
- "Error getting property value!" );
- else
- rProp.Type = aKeyValue.getValueType();
+ // Note: The type may be void if addProperty
+ // was called with a default value
+ // of type void.
+ rProp.Type = aKeyValue.getValueType();
}
catch ( NoSuchElementException& )
{