diff options
Diffstat (limited to 'ucb/source/ucp/webdav-neon/ContentProperties.cxx')
-rw-r--r-- | ucb/source/ucp/webdav-neon/ContentProperties.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav-neon/ContentProperties.cxx b/ucb/source/ucp/webdav-neon/ContentProperties.cxx index 1439e0c7dc4d..b19cd24c19be 100644 --- a/ucb/source/ucp/webdav-neon/ContentProperties.cxx +++ b/ucb/source/ucp/webdav-neon/ContentProperties.cxx @@ -128,8 +128,7 @@ ContentProperties::ContentProperties( const DAVResource& rResource ) ++it; } - if ( rResource.uri.getStr()[ rResource.uri.getLength() - 1 ] - == sal_Unicode( '/' ) ) + if ( rResource.uri.endsWith("/") ) m_bTrailingSlash = sal_True; } |