summaryrefslogtreecommitdiff
path: root/fpicker/source/win32/folderpicker/WinFOPImpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/win32/folderpicker/WinFOPImpl.cxx')
-rw-r--r--fpicker/source/win32/folderpicker/WinFOPImpl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/win32/folderpicker/WinFOPImpl.cxx b/fpicker/source/win32/folderpicker/WinFOPImpl.cxx
index 143d91dc3527..fdf191f07318 100644
--- a/fpicker/source/win32/folderpicker/WinFOPImpl.cxx
+++ b/fpicker/source/win32/folderpicker/WinFOPImpl.cxx
@@ -58,7 +58,7 @@ using osl::FileBase;
//
//------------------------------------------------------------------------
-const OUString BACKSLASH = OUString::createFromAscii( "\\" );
+const OUString BACKSLASH(RTL_CONSTASCII_USTRINGPARAM( "\\" ));
//------------------------------------------------------------------------
// ctor
@@ -94,7 +94,7 @@ void SAL_CALL CWinFolderPickerImpl::setDisplayDirectory( const OUString& aDirect
if ( ::osl::FileBase::E_None != rc )
throw IllegalArgumentException(
- OUString::createFromAscii( "directory is not a valid file url" ),
+ OUString(RTL_CONSTASCII_USTRINGPARAM( "directory is not a valid file url" )),
static_cast< XFolderPicker* >( m_pFolderPicker ),
1 );