summaryrefslogtreecommitdiff
path: root/editeng/source/uno
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-05-29 21:35:26 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-05-29 21:35:26 -0500
commit20696849975f8e256a1be856e056bfaa8ade99d0 (patch)
treef96fc0f6bd832ab3ebf2285a5c7a37c952badbc3 /editeng/source/uno
parentcc1743fe8025af04d63060760d99a23e8fcd5e0c (diff)
targeted string re-work
Change-Id: I477fc34c21530b51d975216156e66abf21a7149c
Diffstat (limited to 'editeng/source/uno')
-rw-r--r--editeng/source/uno/unofield.cxx6
1 files changed, 3 insertions, 3 deletions
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) )