summaryrefslogtreecommitdiff
path: root/unoxml/source/rdf
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-28 18:35:13 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-28 18:35:13 +0100
commit3f8861ce64ba6b43b7871c0a365a145bfa1bbf08 (patch)
tree7cd9317f69df2efea85b03cf0f1d2d7af6c4a6b1 /unoxml/source/rdf
parentb7aae00f598c1d9b23f95198362d3482e5b53b0c (diff)
RTL_CONSTASCII_USTRINGPARAM in filters 12
Diffstat (limited to 'unoxml/source/rdf')
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx18
1 files changed, 7 insertions, 11 deletions
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index 0a3f875e1897..2519fd29e411 100644
--- a/unoxml/source/rdf/librdf_repository.cxx
+++ b/unoxml/source/rdf/librdf_repository.cxx
@@ -1382,14 +1382,10 @@ void SAL_CALL librdf_Repository::setStatementRDFa(
throw (uno::RuntimeException, lang::IllegalArgumentException,
rdf::RepositoryException)
{
- static const ::rtl::OUString s_cell(
- ::rtl::OUString::createFromAscii("com.sun.star.table.Cell"));
- static const ::rtl::OUString s_cellprops( // for writer
- ::rtl::OUString::createFromAscii("com.sun.star.text.CellProperties"));
- static const ::rtl::OUString s_paragraph(
- ::rtl::OUString::createFromAscii("com.sun.star.text.Paragraph"));
- static const ::rtl::OUString s_bookmark(
- ::rtl::OUString::createFromAscii("com.sun.star.text.Bookmark"));
+ static const ::rtl::OUString s_cell(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.table.Cell"));
+ static const ::rtl::OUString s_cellprops(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.text.CellProperties")); // for writer
+ static const ::rtl::OUString s_paragraph(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.text.Paragraph"));
+ static const ::rtl::OUString s_bookmark(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.text.Bookmark"));
static const ::rtl::OUString s_meta( ::rtl::OUString::createFromAscii(
"com.sun.star.text.InContentMetadata"));
@@ -1444,7 +1440,7 @@ throw (uno::RuntimeException, lang::IllegalArgumentException,
"ensureMetadataReference did not"), *this);
}
::rtl::OUString const sXmlId(mdref.First +
- ::rtl::OUString::createFromAscii("#") + mdref.Second);
+ ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("#")) + mdref.Second);
uno::Reference<rdf::XURI> xXmlId;
try {
xXmlId.set( rdf::URI::create(m_xContext,
@@ -1508,7 +1504,7 @@ throw (uno::RuntimeException, lang::IllegalArgumentException,
try {
xXmlId.set( rdf::URI::create(m_xContext,
::rtl::OUString::createFromAscii(s_nsOOo)
- + mdref.First + ::rtl::OUString::createFromAscii("#")
+ + mdref.First + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("#"))
+ mdref.Second),
uno::UNO_QUERY_THROW);
} catch (lang::IllegalArgumentException & iae) {
@@ -1536,7 +1532,7 @@ throw (uno::RuntimeException, lang::IllegalArgumentException,
return beans::Pair< uno::Sequence<rdf::Statement>, sal_Bool >();
}
::rtl::OUString const sXmlId(mdref.First +
- ::rtl::OUString::createFromAscii("#") + mdref.Second);
+ ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("#")) + mdref.Second);
uno::Reference<rdf::XURI> xXmlId;
try {
xXmlId.set( rdf::URI::create(m_xContext,