summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/gio/gio_content.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/gio/gio_content.cxx')
-rw-r--r--ucb/source/ucp/gio/gio_content.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx
index adba80d8fae0..2d5acc09d595 100644
--- a/ucb/source/ucp/gio/gio_content.cxx
+++ b/ucb/source/ucp/gio/gio_content.cxx
@@ -563,7 +563,7 @@ void Content::queryChildren( ContentRefList& rChildren )
OUString aChildURL = xChild->getIdentifier()->getContentIdentifier();
// Is aURL a prefix of aChildURL?
- if ( ( aChildURL.getLength() > nLen ) && ( aChildURL.compareTo( aURL, nLen ) == 0 ) )
+ if ( ( aChildURL.getLength() > nLen ) && aChildURL.startsWith( aURL ) )
{
sal_Int32 nPos = nLen;
nPos = aChildURL.indexOf( '/', nPos );