diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-14 13:13:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-19 10:29:30 +0200 |
commit | 2c35fff7eca3a143d28dc75e6a73fe1101d2af77 (patch) | |
tree | fb31b64880b06b0e2bd867aa6216ae0259c7c091 /fpicker/source/win32/folderpicker | |
parent | ccc297097891e62489e5d281a4ea128ec6b71361 (diff) |
remove most use of RTL_CONSTASCII_USTRINGPARAM macro
This is largely unnecessary when working with OUString
Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
Diffstat (limited to 'fpicker/source/win32/folderpicker')
-rw-r--r-- | fpicker/source/win32/folderpicker/FolderPicker.cxx | 2 | ||||
-rw-r--r-- | fpicker/source/win32/folderpicker/workbench/Test_fops.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fpicker/source/win32/folderpicker/FolderPicker.cxx b/fpicker/source/win32/folderpicker/FolderPicker.cxx index 7f963221d348..7619e0d99d1b 100644 --- a/fpicker/source/win32/folderpicker/FolderPicker.cxx +++ b/fpicker/source/win32/folderpicker/FolderPicker.cxx @@ -147,7 +147,7 @@ sal_Int16 SAL_CALL CFolderPicker::execute( ) OUString SAL_CALL CFolderPicker::getImplementationName( ) throw( RuntimeException ) { - return OUString(RTL_CONSTASCII_USTRINGPARAM( FOLDERPICKER_IMPL_NAME )); + return OUString( FOLDERPICKER_IMPL_NAME ); } // XServiceInfo diff --git a/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx b/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx index e0497d25a688..fddb157d4058 100644 --- a/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx +++ b/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx @@ -77,7 +77,7 @@ int SAL_CALL main(int /*nArgc*/, char* /*Argv[]*/, char* /*Env[]*/ ) //------------------------------------------------- // Get global factory for uno services. - OUString rdbName = OUString( RTL_CONSTASCII_USTRINGPARAM( RDB_SYSPATH ) ); + OUString rdbName = OUString( RDB_SYSPATH ); Reference< XMultiServiceFactory > g_xFactory( createRegistryServiceFactory( rdbName ) ); // Print a message if an error occurred. @@ -96,7 +96,7 @@ int SAL_CALL main(int /*nArgc*/, char* /*Argv[]*/, char* /*Env[]*/ ) Reference< XFolderPicker2 > xFolderPicker; xFolderPicker = Reference< XFolderPicker2 >( - g_xFactory->createInstance( OUString( RTL_CONSTASCII_USTRINGPARAM ( FOLDER_PICKER_SERVICE_NAME ) ) ), UNO_QUERY ); + g_xFactory->createInstance( OUString( FOLDER_PICKER_SERVICE_NAME ) ), UNO_QUERY ); if ( xFolderPicker.is() == sal_False ) { |