diff options
Diffstat (limited to 'stoc/test/testproxyfac.cxx')
-rw-r--r-- | stoc/test/testproxyfac.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/stoc/test/testproxyfac.cxx b/stoc/test/testproxyfac.cxx index 38ab9eef51d2..991eff6b6a3e 100644 --- a/stoc/test/testproxyfac.cxx +++ b/stoc/test/testproxyfac.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -76,7 +77,7 @@ public: // XServiceInfo virtual OUString SAL_CALL getImplementationName() throw (RuntimeException) - { return OUString::createFromAscii( "target" ); } + { return OUString(RTL_CONSTASCII_USTRINGPARAM("target")); } virtual sal_Bool SAL_CALL supportsService( const OUString & /*rServiceName*/ ) throw (RuntimeException) { return sal_False; } @@ -140,7 +141,7 @@ public: // XServiceInfo virtual OUString SAL_CALL getImplementationName() throw (RuntimeException) - { return OUString::createFromAscii( "master" ); } + { return OUString(RTL_CONSTASCII_USTRINGPARAM("master")); } virtual sal_Bool SAL_CALL supportsService( const OUString & /*rServiceName*/ ) throw (RuntimeException) { return sal_False; } @@ -283,8 +284,8 @@ SAL_IMPLEMENT_MAIN() Reference< reflection::XProxyFactory > xProxyFac( xMgr->createInstance( - OUString::createFromAscii( - "com.sun.star.reflection.ProxyFactory") ), + OUString(RTL_CONSTASCII_USTRINGPARAM( + "com.sun.star.reflection.ProxyFactory")) ), UNO_QUERY_THROW ); Reference< XAggregation > x( @@ -377,3 +378,4 @@ SAL_IMPLEMENT_MAIN() } } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |