summaryrefslogtreecommitdiff
path: root/sal/osl/os2/file.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/os2/file.cxx')
-rw-r--r--sal/osl/os2/file.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/os2/file.cxx b/sal/osl/os2/file.cxx
index 7430f0a4c3b7..2e2640378973 100644
--- a/sal/osl/os2/file.cxx
+++ b/sal/osl/os2/file.cxx
@@ -567,7 +567,7 @@ oslFileError SAL_CALL osl_getDirectoryItem( rtl_uString* ustrFileURL, oslDirecto
if ( pItemImpl->ustrDrive->buffer[pItemImpl->ustrDrive->length-1] != sal_Unicode('\\') )
rtl_uString_newConcat( &pItemImpl->ustrDrive,
- pItemImpl->ustrDrive, rtl::OUString::createFromAscii( "\\" ).pData);
+ pItemImpl->ustrDrive, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\\")).pData);
*pItem = pItemImpl;
}