summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper/tempfile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/ucbhelper/tempfile.cxx')
-rw-r--r--unotools/source/ucbhelper/tempfile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/ucbhelper/tempfile.cxx b/unotools/source/ucbhelper/tempfile.cxx
index 86438df125c6..17dafaa2f114 100644
--- a/unotools/source/ucbhelper/tempfile.cxx
+++ b/unotools/source/ucbhelper/tempfile.cxx
@@ -61,7 +61,7 @@ struct TempFile_Impl
OUString getParentName( const OUString& aFileName )
{
- sal_Int32 lastIndex = aFileName.lastIndexOf( sal_Unicode('/') );
+ sal_Int32 lastIndex = aFileName.lastIndexOf( '/' );
OUString aParent = aFileName.copy( 0, lastIndex );
if( aParent.endsWith(":") && aParent.getLength() == 6 )