summaryrefslogtreecommitdiff
path: root/configmgr/source/xmldata.cxx
diff options
context:
space:
mode:
authorRadu Ioan <ioan.radu.g@gmail.com>2012-12-10 23:06:10 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-12-11 12:08:38 +0000
commit3e64874e7cd234ff563ac11450cfb2b6e2db4bf6 (patch)
tree5fd298e750ac28fabc3a7179d7af492c13113e01 /configmgr/source/xmldata.cxx
parent90874ab3c75fd161a672a24538cbce909f284e97 (diff)
rtl:: prefix removal from configmgr
- removed rtl:: prefix - removed RTL_CONSTASCII_USTRINGPARAM - corrected some misspells Change-Id: I88bb0beec718a7fe38c61220aa61401419f23b42 Reviewed-on: https://gerrit.libreoffice.org/1291 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'configmgr/source/xmldata.cxx')
-rw-r--r--configmgr/source/xmldata.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/configmgr/source/xmldata.cxx b/configmgr/source/xmldata.cxx
index 6e3def05159c..a5dc0896a05f 100644
--- a/configmgr/source/xmldata.cxx
+++ b/configmgr/source/xmldata.cxx
@@ -145,7 +145,7 @@ Type parseType(
}
}
throw css::uno::RuntimeException(
- (rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("invalid type ")) +
+ (OUString("invalid type ") +
text.convertFromUtf8()),
css::uno::Reference< css::uno::XInterface >());
}
@@ -159,22 +159,21 @@ bool parseBoolean(xmlreader::Span const & text) {
return false;
}
throw css::uno::RuntimeException(
- (rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("invalid boolean ")) +
+ (OUString("invalid boolean ") +
text.convertFromUtf8()),
css::uno::Reference< css::uno::XInterface >());
}
-rtl::OUString parseTemplateReference(
- rtl::OUString const & component, bool hasNodeType,
- rtl::OUString const & nodeType, rtl::OUString const * defaultTemplateName)
+OUString parseTemplateReference(
+ OUString const & component, bool hasNodeType,
+ OUString const & nodeType, OUString const * defaultTemplateName)
{
if (!hasNodeType) {
if (defaultTemplateName != 0) {
return *defaultTemplateName;
}
throw css::uno::RuntimeException(
- rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM("missing node-type attribute")),
+ OUString("missing node-type attribute"),
css::uno::Reference< css::uno::XInterface >());
}
return Data::fullTemplateName(component, nodeType);