summaryrefslogtreecommitdiff
path: root/tools/source/fsys/dirent.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-30 23:42:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-31 10:43:27 +0100
commit67f32c6b63e46afbd69fa1b652ab9522037b9d6e (patch)
tree22f164f5349ae1840c3ec5cbaac24dd909a8de17 /tools/source/fsys/dirent.cxx
parent0aeacaf4e8be61091b578d96d5f540cd81f84d2b (diff)
ByteString->rtl::OString
Diffstat (limited to 'tools/source/fsys/dirent.cxx')
-rw-r--r--tools/source/fsys/dirent.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx
index 14548558e107..6666aa333ac5 100644
--- a/tools/source/fsys/dirent.cxx
+++ b/tools/source/fsys/dirent.cxx
@@ -1407,12 +1407,12 @@ sal_Bool DirEntry::Find( const String& rPfad, char cDelim )
cDelim = SEARCHDELIM(DEFSTYLE)[0];
sal_uInt16 nTokenCount = rPfad.GetTokenCount( cDelim );
- sal_uInt16 nIndex = 0;
+ sal_Int32 nIndex = 0;
ByteString aThis = ACCESSDELIM(DEFSTYLE);
aThis += ByteString(GetFull(), osl_getThreadTextEncoding());
for ( sal_uInt16 nToken = 0; nToken < nTokenCount; ++nToken )
{
- ByteString aPath = ByteString(rPfad, osl_getThreadTextEncoding()).GetToken( 0, cDelim, nIndex );
+ ByteString aPath = rtl::OUStringToOString(rPfad, osl_getThreadTextEncoding()).getToken( 0, cDelim, nIndex );
if ( aPath.Len() )
{