summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-11 06:40:28 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-11 06:40:28 +0000
commit51712a05ac67029e546cb454f1158d2858c9ed01 (patch)
treed28c5e564b52a56f8849e0d228a6f02aedaa6156 /ucb
parent773c4a017a5ad14b705707b7345f9ee13f0e4aad (diff)
INTEGRATION: CWS tkr14 (1.11.8); FILE MERGED
2008/06/05 09:38:49 tkr 1.11.8.1: #i78894# changes for caching
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/ContentProperties.cxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/ucb/source/ucp/webdav/ContentProperties.cxx b/ucb/source/ucp/webdav/ContentProperties.cxx
index 1de8779fd3..5b4e197343 100644
--- a/ucb/source/ucp/webdav/ContentProperties.cxx
+++ b/ucb/source/ucp/webdav/ContentProperties.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ContentProperties.cxx,v $
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
* This file is part of OpenOffice.org.
*
@@ -293,8 +293,10 @@ ContentProperties::ContentProperties( const ContentProperties & rOther )
//=========================================================================
bool ContentProperties::contains( const rtl::OUString & rName ) const
{
- const uno::Any & rValue = getValue( rName );
- return rValue.hasValue();
+ if ( get( rName ) )
+ return true;
+ else
+ return false;
}
//=========================================================================
@@ -550,7 +552,12 @@ void ContentProperties::addProperties(
{
// Add it.
(*m_xProps)[ rName ] = PropertyValue( *pProp );
+ }
+ else
+ {
+ (*m_xProps)[ rName ] = PropertyValue( uno::Any(), false );
}
+
}
++it;