summaryrefslogtreecommitdiff
path: root/stoc/source
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 16:12:08 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 16:48:34 -0500
commitacb7bd175abe6c7f793cc673feaab46c90b9a260 (patch)
tree206be73ecd4a2af07310e8efe348f9647382d331 /stoc/source
parentd29d9399d48f85989cc8040f5ba334c38b40a544 (diff)
targeted string re-work
Change-Id: I145731d9f28faf0065f5960f2c5a32f27d8c8620
Diffstat (limited to 'stoc/source')
-rw-r--r--stoc/source/defaultregistry/defaultregistry.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/stoc/source/defaultregistry/defaultregistry.cxx b/stoc/source/defaultregistry/defaultregistry.cxx
index a385426f73ff..d7ff89d6b9d3 100644
--- a/stoc/source/defaultregistry/defaultregistry.cxx
+++ b/stoc/source/defaultregistry/defaultregistry.cxx
@@ -65,13 +65,13 @@ namespace stoc_bootstrap
Sequence< OUString > defreg_getSupportedServiceNames()
{
Sequence< OUString > seqNames(1);
- seqNames.getArray()[0] = OUString(RTL_CONSTASCII_USTRINGPARAM(SERVICENAME));
+ seqNames.getArray()[0] = OUString(SERVICENAME);
return seqNames;
}
OUString defreg_getImplementationName()
{
- return OUString(RTL_CONSTASCII_USTRINGPARAM(IMPLNAME));
+ return OUString(IMPLNAME);
}
}
@@ -980,7 +980,7 @@ sal_Bool SAL_CALL NestedKeyImpl::createLink( const OUString& aLinkName, const OU
if ( lastIndex == 0 )
resolvedName = m_name + aLinkName;
else
- resolvedName = m_name + OUString( RTL_CONSTASCII_USTRINGPARAM("/") ) + aLinkName;
+ resolvedName = m_name + OUString( "/" ) + aLinkName;
}
if ( m_localKey.is() && m_localKey->isValid() )
@@ -1034,7 +1034,7 @@ void SAL_CALL NestedKeyImpl::deleteLink( const OUString& rLinkName )
if ( lastIndex == 0 )
resolvedName = m_name + rLinkName;
else
- resolvedName = m_name + OUString( RTL_CONSTASCII_USTRINGPARAM("/") ) + rLinkName;
+ resolvedName = m_name + OUString( "/" ) + rLinkName;
}
if ( m_localKey.is() && m_localKey->isValid() &&
@@ -1078,7 +1078,7 @@ OUString SAL_CALL NestedKeyImpl::getLinkTarget( const OUString& rLinkName )
if ( lastIndex == 0 )
resolvedName = m_name + rLinkName;
else
- resolvedName = m_name + OUString( RTL_CONSTASCII_USTRINGPARAM("/") ) + rLinkName;
+ resolvedName = m_name + OUString( "/" ) + rLinkName;
}
OUString linkTarget;
@@ -1176,8 +1176,8 @@ Any RegistryEnumueration::nextElement( )
}
else
{
- throw NoSuchElementException( OUString( RTL_CONSTASCII_USTRINGPARAM(
- "NestedRegistry: no nextElement() !" ) ),Reference< XInterface > () );
+ throw NoSuchElementException( OUString(
+ "NestedRegistry: no nextElement() !" ),Reference< XInterface > () );
}
return a;
}
@@ -1266,7 +1266,7 @@ void SAL_CALL NestedRegistryImpl::open( const OUString&, sal_Bool, sal_Bool )
throw(InvalidRegistryException, RuntimeException)
{
throw InvalidRegistryException(
- OUString(RTL_CONSTASCII_USTRINGPARAM("the 'open' method is not specified for a nested registry")),
+ OUString("the 'open' method is not specified for a nested registry"),
Reference< XInterface >() );
}
@@ -1302,7 +1302,7 @@ void SAL_CALL NestedRegistryImpl::close( )
}
/*
throw InvalidRegistryException(
- OUString(RTL_CONSTASCII_USTRINGPARAM("the 'close' method is not specified for a nested registry")),
+ OUString("the 'close' method is not specified for a nested registry"),
Reference< XInterface >() );
*/
}
@@ -1312,7 +1312,7 @@ void SAL_CALL NestedRegistryImpl::destroy( )
throw(InvalidRegistryException, RuntimeException)
{
throw InvalidRegistryException(
- OUString(RTL_CONSTASCII_USTRINGPARAM("the 'destroy' method is not specified for a nested registry")),
+ OUString("the 'destroy' method is not specified for a nested registry"),
Reference< XInterface >() );
}