summaryrefslogtreecommitdiff
path: root/stoc/source/servicemanager
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-16 17:30:34 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-16 17:30:34 +0100
commitbc909149fdb3256b80367cd6e55378406ec8d979 (patch)
treebd3da50c305e734d5fd374bdc3640c8e83778334 /stoc/source/servicemanager
parent9b03a827b2955edf5dc726d498276c4f94639c8d (diff)
stoc: Use appropriate OUString functions on string constants
Change-Id: If8c20c8a0958016c14007406244fc8ab9a742933
Diffstat (limited to 'stoc/source/servicemanager')
-rw-r--r--stoc/source/servicemanager/servicemanager.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/stoc/source/servicemanager/servicemanager.cxx b/stoc/source/servicemanager/servicemanager.cxx
index ca2ab6aa51c3..9641332ef71c 100644
--- a/stoc/source/servicemanager/servicemanager.cxx
+++ b/stoc/source/servicemanager/servicemanager.cxx
@@ -776,7 +776,7 @@ void OServiceManager::setPropertyValue(
else
{
throw UnknownPropertyException(
- OUString("unknown property ") + PropertyName,
+ "unknown property " + PropertyName,
(OWeakObject *)this );
}
}
@@ -1238,8 +1238,8 @@ void OServiceManager::remove( const Any & Element )
if (iFind == m_ImplementationNameMap.end())
{
throw NoSuchElementException(
- OUString("element is not in: ")
- + implName, static_cast< OWeakObject * >(this) );
+ "element is not in: " + implName,
+ static_cast< OWeakObject * >(this) );
}
xEle = iFind->second;
}