diff options
Diffstat (limited to 'shell/source/win32/workbench/TestProxySet.cxx')
-rw-r--r-- | shell/source/win32/workbench/TestProxySet.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/win32/workbench/TestProxySet.cxx b/shell/source/win32/workbench/TestProxySet.cxx index 3e69f78fd86d..843a80cf61b2 100644 --- a/shell/source/win32/workbench/TestProxySet.cxx +++ b/shell/source/win32/workbench/TestProxySet.cxx @@ -114,7 +114,7 @@ int SAL_CALL main(int, char*, char* ) try { Reference< XProxySettings > xProxySettings( - g_xFactory->createInstance( OUString::createFromAscii( "com.sun.star.system.SystemProxySettings" ) ), UNO_QUERY ); + g_xFactory->createInstance( OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.system.SystemProxySettings")) ), UNO_QUERY ); if ( !xProxySettings.is() ) { @@ -141,7 +141,7 @@ int SAL_CALL main(int, char*, char* ) printf( "Test of SystemProxySettings successful\n" ); xProxySettings = Reference< XProxySettings >( - g_xFactory->createInstance( OUString::createFromAscii( "com.sun.star.system.SOProxySettings" ) ), UNO_QUERY ); + g_xFactory->createInstance( OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.system.SOProxySettings")) ), UNO_QUERY ); if ( !xProxySettings.is() ) { |