summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/package/pkguri.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/package/pkguri.hxx')
-rw-r--r--ucb/source/ucp/package/pkguri.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/ucb/source/ucp/package/pkguri.hxx b/ucb/source/ucp/package/pkguri.hxx
index 52e3e01fff41..90101fdb8f0a 100644
--- a/ucb/source/ucp/package/pkguri.hxx
+++ b/ucb/source/ucp/package/pkguri.hxx
@@ -81,8 +81,7 @@ public:
inline bool PackageUri::isRootFolder() const
{
init();
- return ( ( m_aPath.getLength() == 1 ) &&
- ( m_aPath.getStr()[ 0 ] == u'/' ) );
+ return m_aPath == "/";
}
}