diff options
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r-- | ucb/source/ucp/webdav-neon/ContentProperties.cxx | 12 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonSession.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/ucb/source/ucp/webdav-neon/ContentProperties.cxx b/ucb/source/ucp/webdav-neon/ContentProperties.cxx index 4557a565674c..551d91080b93 100644 --- a/ucb/source/ucp/webdav-neon/ContentProperties.cxx +++ b/ucb/source/ucp/webdav-neon/ContentProperties.cxx @@ -396,7 +396,7 @@ void ContentProperties::addProperty( const OUString & rName, const css::uno::Any & rValue, bool bIsCaseSensitive ) { - if ( rName.equals( DAVProperties::CREATIONDATE ) ) + if ( rName == DAVProperties::CREATIONDATE ) { // Map DAV:creationdate to UCP:DateCreated OUString aValue; @@ -413,7 +413,7 @@ void ContentProperties::addProperty( const OUString & rName, // else if ( rName.equals( DAVProperties::GETCONTENTLANGUAGE ) ) // { // } - else if ( rName.equals( DAVProperties::GETCONTENTLENGTH ) ) + else if ( rName == DAVProperties::GETCONTENTLENGTH ) { // Map DAV:getcontentlength to UCP:Size OUString aValue; @@ -434,7 +434,7 @@ void ContentProperties::addProperty( const OUString & rName, (*m_xProps)[ OUString("Size") ] = PropertyValue( uno::makeAny( aValue.toInt64() ), true ); } - else if ( rName.equals( DAVProperties::GETCONTENTTYPE ) ) + else if ( rName == DAVProperties::GETCONTENTTYPE ) { // Map DAV:getcontenttype to UCP:MediaType (1:1) (*m_xProps)[ OUString("MediaType") ] @@ -452,7 +452,7 @@ void ContentProperties::addProperty( const OUString & rName, // else if ( rName.equals( DAVProperties::GETETAG ) ) // { // } - else if ( rName.equals( DAVProperties::GETLASTMODIFIED ) ) + else if ( rName == DAVProperties::GETLASTMODIFIED ) { // Map the DAV:getlastmodified entity header to UCP:DateModified OUString aValue; @@ -480,7 +480,7 @@ void ContentProperties::addProperty( const OUString & rName, // else if ( rName.equals( DAVProperties::LOCKDISCOVERY ) ) // { // } - else if ( rName.equals( DAVProperties::RESOURCETYPE ) ) + else if ( rName == DAVProperties::RESOURCETYPE ) { OUString aValue; rValue >>= aValue; @@ -539,7 +539,7 @@ namespace { if ( isCaseSensitive ) { - if ( rName.equals( rNonCachableProp ) ) + if ( rName == rNonCachableProp ) return false; } else diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx index 2ba3c8601d09..74bb47622524 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.cxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx @@ -1759,7 +1759,7 @@ bool NeonSession::removeExpiredLocktoken( const OUString & inURL, while ( it != end ) { - if ( (*it).Name.equals( DAVProperties::LOCKDISCOVERY ) ) + if ( (*it).Name == DAVProperties::LOCKDISCOVERY ) { uno::Sequence< ucb::Lock > aLocks; if ( !( (*it).Value >>= aLocks ) ) diff --git a/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx b/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx index f86ed585c718..70d380bd1b75 100644 --- a/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx +++ b/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx @@ -348,7 +348,7 @@ bool DataSupplier::getData() while ( it != end ) { - if ( (*it).equals( DAVProperties::RESOURCETYPE ) ) + if ( (*it) == DAVProperties::RESOURCETYPE ) break; ++it; |