summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav/webdavcontentcaps.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/webdav/webdavcontentcaps.cxx')
-rw-r--r--ucb/source/ucp/webdav/webdavcontentcaps.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/ucb/source/ucp/webdav/webdavcontentcaps.cxx b/ucb/source/ucp/webdav/webdavcontentcaps.cxx
index 20a2c11ff770..d0e3558de51a 100644
--- a/ucb/source/ucp/webdav/webdavcontentcaps.cxx
+++ b/ucb/source/ucp/webdav/webdavcontentcaps.cxx
@@ -440,17 +440,11 @@ uno::Sequence< beans::Property > Content::getProperties(
// Add cached properties, if present and still missing.
if ( xCachedProps.get() )
{
- const std::set< OUString >::const_iterator set_end
- = aPropSet.end();
-
const std::unique_ptr< PropertyValueMap > & xProps
= xCachedProps->getProperties();
for ( const auto& rEntry : *xProps )
- {
- if ( aPropSet.find( rEntry.first ) == set_end )
- aPropSet.insert( rEntry.first );
- }
+ aPropSet.insert( rEntry.first );
}
// std::set -> uno::Sequence