From 20696849975f8e256a1be856e056bfaa8ade99d0 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Tue, 29 May 2012 21:35:26 -0500 Subject: targeted string re-work Change-Id: I477fc34c21530b51d975216156e66abf21a7149c --- editeng/source/uno/unofield.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editeng/source/uno') diff --git a/editeng/source/uno/unofield.cxx b/editeng/source/uno/unofield.cxx index 3217e89e42b1..8bc3fccddde7 100644 --- a/editeng/source/uno/unofield.cxx +++ b/editeng/source/uno/unofield.cxx @@ -804,7 +804,7 @@ void SvxUnoTextField::disposing() // lang::XServiceInfo OUString SAL_CALL SvxUnoTextField::getImplementationName() throw(uno::RuntimeException) { - return OUString(RTL_CONSTASCII_USTRINGPARAM("SvxUnoTextField")); + return OUString("SvxUnoTextField"); } uno::Sequence< OUString > SAL_CALL SvxUnoTextField::getSupportedServiceNames() @@ -889,11 +889,11 @@ uno::Reference< uno::XInterface > SAL_CALL SvxUnoTextCreateTextField( const ::rt { uno::Reference< uno::XInterface > xRet; - const OUString aTextFieldPrexit( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.text.textfield.") ); + const OUString aTextFieldPrexit( "com.sun.star.text.textfield." ); // #i93308# up to OOo 3.2 we used this wrong namespace name with the capital T & F. This is // fixed since OOo 3.2 but for compatibility we will still provide support for the wrong notation. - const OUString aTextFieldPrexit2( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.text.TextField.") ); + const OUString aTextFieldPrexit2( "com.sun.star.text.TextField." ); if( (ServiceSpecifier.compareTo( aTextFieldPrexit, aTextFieldPrexit.getLength() ) == 0) || (ServiceSpecifier.compareTo( aTextFieldPrexit2, aTextFieldPrexit2.getLength() ) == 0) ) -- cgit