summaryrefslogtreecommitdiff
path: root/unoxml/source/rdf/CBlankNode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/rdf/CBlankNode.cxx')
-rw-r--r--unoxml/source/rdf/CBlankNode.cxx18
1 files changed, 8 insertions, 10 deletions
diff --git a/unoxml/source/rdf/CBlankNode.cxx b/unoxml/source/rdf/CBlankNode.cxx
index 0a937180d471..0f296cd10521 100644
--- a/unoxml/source/rdf/CBlankNode.cxx
+++ b/unoxml/source/rdf/CBlankNode.cxx
@@ -101,15 +101,15 @@ void SAL_CALL CBlankNode::initialize(const css::uno::Sequence< ::com::sun::star:
{
if (aArguments.getLength() != 1) {
throw css::lang::IllegalArgumentException(
- ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CBlankNode::initialize: "
- "must give exactly 1 argument")), *this, 1);
+ ::rtl::OUString("CBlankNode::initialize: "
+ "must give exactly 1 argument"), *this, 1);
}
::rtl::OUString arg;
if (!(aArguments[0] >>= arg)) {
throw css::lang::IllegalArgumentException(
- ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CBlankNode::initialize: "
- "argument must be string")), *this, 0);
+ ::rtl::OUString("CBlankNode::initialize: "
+ "argument must be string"), *this, 0);
}
//FIXME: what is legal?
@@ -117,8 +117,8 @@ void SAL_CALL CBlankNode::initialize(const css::uno::Sequence< ::com::sun::star:
m_NodeID = arg;
} else {
throw css::lang::IllegalArgumentException(
- ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CBlankNode::initialize: "
- "argument is not valid blank node ID")), *this, 0);
+ ::rtl::OUString("CBlankNode::initialize: "
+ "argument is not valid blank node ID"), *this, 0);
}
}
@@ -136,15 +136,13 @@ void SAL_CALL CBlankNode::initialize(const css::uno::Sequence< ::com::sun::star:
namespace comp_CBlankNode {
::rtl::OUString SAL_CALL _getImplementationName() {
- return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
- "CBlankNode"));
+ return ::rtl::OUString( "CBlankNode");
}
css::uno::Sequence< ::rtl::OUString > SAL_CALL _getSupportedServiceNames()
{
css::uno::Sequence< ::rtl::OUString > s(1);
- s[0] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.rdf.BlankNode"));
+ s[0] = ::rtl::OUString( "com.sun.star.rdf.BlankNode");
return s;
}