summaryrefslogtreecommitdiff
path: root/bridges/test/testoffice.cxx
diff options
context:
space:
mode:
authorKevin Hunter <hunteke@earlham.edu>2010-11-19 10:07:01 -0500
committerDavid Tardon <dtardon@redhat.com>2010-11-20 11:22:38 +0100
commit8e401df9f064a6f7da0266bfe8461c481c0c0958 (patch)
tree561977859bf04d5e5e4d29ffe21c2ca7195df002 /bridges/test/testoffice.cxx
parent5ea8804a166ce06dd33d363b96a250e012bf3951 (diff)
EasyHack: RTL_CONST macro from createFromAscii
They're only in the tests, but it compiles, and the createFromAscii messed with my grep-age!
Diffstat (limited to 'bridges/test/testoffice.cxx')
-rw-r--r--bridges/test/testoffice.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/test/testoffice.cxx b/bridges/test/testoffice.cxx
index 0d87089b6921..9e90702e036c 100644
--- a/bridges/test/testoffice.cxx
+++ b/bridges/test/testoffice.cxx
@@ -87,7 +87,7 @@ void mygetchar()
void testPipe( const Reference < XMultiServiceFactory > & rSmgr )
{
Reference < XOutputStream > rOut(
- rSmgr->createInstance( OUString::createFromAscii( "com.sun.star.io.Pipe" ) ),
+ rSmgr->createInstance( OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.io.Pipe" )) ),
UNO_QUERY );
OSL_ASSERT( rOut.is() );
@@ -195,7 +195,7 @@ void doSomething( const Reference < XInterface > &r )
{
printf( "got the remote naming service !\n" );
Reference < XInterface > rXsmgr = rName->getRegisteredObject(
- OUString::createFromAscii( "StarOffice.ServiceManager" ) );
+ OUString( RTL_CONSTASCII_USTRINGPARAM( "StarOffice.ServiceManager" )) );
Reference < XMultiServiceFactory > rSmgr( rXsmgr , UNO_QUERY );
if( rSmgr.is() )