summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav/ContentProperties.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/webdav/ContentProperties.cxx')
-rw-r--r--ucb/source/ucp/webdav/ContentProperties.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav/ContentProperties.cxx b/ucb/source/ucp/webdav/ContentProperties.cxx
index a1e78288cd56..e8416a212586 100644
--- a/ucb/source/ucp/webdav/ContentProperties.cxx
+++ b/ucb/source/ucp/webdav/ContentProperties.cxx
@@ -112,8 +112,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;
}