summaryrefslogtreecommitdiff
path: root/tools/source/fsys/dirent.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-14 14:42:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-14 14:43:31 +0000
commitf8beaced3d4dbf541fafb94b84ed35b498d4365e (patch)
tree1253a282abeee2bc27c31e53d8fb74942cc82dda /tools/source/fsys/dirent.cxx
parent27beae53bf2deadb52fb9b9d9be7d80e1915ef5c (diff)
remove dodgy const_casts
Diffstat (limited to 'tools/source/fsys/dirent.cxx')
-rw-r--r--tools/source/fsys/dirent.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx
index 95fcd3278fa1..052a6a2cc707 100644
--- a/tools/source/fsys/dirent.cxx
+++ b/tools/source/fsys/dirent.cxx
@@ -162,7 +162,7 @@ void FSysRedirector::DoRedirect( String &rPath )
return;
// redirect only removable or remote volumes
- if ( !IsRedirectable_Impl( ByteString( aURL, osl_getThreadTextEncoding() ) ) )
+ if (!IsRedirectable_Impl(rtl::OUStringToOString(aURL, osl_getThreadTextEncoding())))
return;
// Redirection is acessible only by one thread per time