summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav-neon/ContentProperties.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/webdav-neon/ContentProperties.cxx')
-rw-r--r--ucb/source/ucp/webdav-neon/ContentProperties.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav-neon/ContentProperties.cxx b/ucb/source/ucp/webdav-neon/ContentProperties.cxx
index e90021b0ee8e..ef82213e7937 100644
--- a/ucb/source/ucp/webdav-neon/ContentProperties.cxx
+++ b/ucb/source/ucp/webdav-neon/ContentProperties.cxx
@@ -171,10 +171,7 @@ ContentProperties::ContentProperties( const ContentProperties & rOther )
bool ContentProperties::contains( const OUString & rName ) const
{
- if ( get( rName ) )
- return true;
- else
- return false;
+ return get( rName ) != nullptr;
}