Improved loplugin:stringconstant (now that GCC 7 supports it): unoxml
Change-Id: If4445eabc4216d2fce7a08da85e806408064d7bb Reviewed-on: https://gerrit.libreoffice.org/76630 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
This commit is contained in:
@@ -48,7 +48,7 @@ namespace DOM
|
||||
|
||||
OUString SAL_CALL CCDATASection::getNodeName()
|
||||
{
|
||||
return OUString( "#cdata-section" );
|
||||
return "#cdata-section";
|
||||
}
|
||||
|
||||
OUString SAL_CALL CCDATASection::getNodeValue()
|
||||
|
@@ -44,7 +44,7 @@ namespace DOM
|
||||
|
||||
OUString SAL_CALL CComment::getNodeName()
|
||||
{
|
||||
return OUString("#comment");
|
||||
return "#comment";
|
||||
}
|
||||
|
||||
OUString SAL_CALL CComment::getNodeValue()
|
||||
|
@@ -906,7 +906,7 @@ namespace DOM
|
||||
OUString SAL_CALL CDocument::getNodeName()
|
||||
{
|
||||
// does not need mutex currently
|
||||
return OUString("#document");
|
||||
return "#document";
|
||||
}
|
||||
|
||||
OUString SAL_CALL CDocument::getNodeValue()
|
||||
|
@@ -110,7 +110,7 @@ namespace DOM
|
||||
|
||||
OUString CDocumentBuilder::_getImplementationName()
|
||||
{
|
||||
return OUString(aImplementationName);
|
||||
return aImplementationName;
|
||||
}
|
||||
Sequence<OUString> CDocumentBuilder::_getSupportedServiceNames()
|
||||
{
|
||||
|
@@ -49,7 +49,7 @@ namespace DOM
|
||||
|
||||
OUString SAL_CALL CDocumentFragment::getNodeName()
|
||||
{
|
||||
return OUString("#document-fragment");
|
||||
return "#document-fragment";
|
||||
}
|
||||
OUString SAL_CALL CDocumentFragment::getNodeValue()
|
||||
{
|
||||
|
@@ -51,7 +51,7 @@ namespace DOM
|
||||
|
||||
OUString CSAXDocumentBuilder::_getImplementationName()
|
||||
{
|
||||
return OUString(aImplementationName);
|
||||
return aImplementationName;
|
||||
}
|
||||
Sequence<OUString> CSAXDocumentBuilder::_getSupportedServiceNames()
|
||||
{
|
||||
|
@@ -60,7 +60,7 @@ namespace DOM
|
||||
|
||||
OUString SAL_CALL CText::getNodeName()
|
||||
{
|
||||
return OUString("#text");
|
||||
return "#text";
|
||||
}
|
||||
|
||||
Reference< XText > SAL_CALL CText::splitText(sal_Int32 /*offset*/)
|
||||
|
@@ -113,7 +113,7 @@ OUString SAL_CALL CBlankNode::getStringValue()
|
||||
namespace comp_CBlankNode {
|
||||
|
||||
OUString _getImplementationName() {
|
||||
return OUString( "CBlankNode");
|
||||
return "CBlankNode";
|
||||
}
|
||||
|
||||
css::uno::Sequence< OUString > _getSupportedServiceNames()
|
||||
|
@@ -171,7 +171,7 @@ css::uno::Reference< css::rdf::XURI > SAL_CALL CLiteral::getDatatype()
|
||||
namespace comp_CLiteral {
|
||||
|
||||
OUString _getImplementationName() {
|
||||
return OUString( "CLiteral");
|
||||
return "CLiteral";
|
||||
}
|
||||
|
||||
css::uno::Sequence< OUString > _getSupportedServiceNames()
|
||||
|
@@ -794,8 +794,8 @@ OUString SAL_CALL CURI::getLocalName()
|
||||
namespace comp_CURI {
|
||||
|
||||
OUString _getImplementationName() {
|
||||
return OUString(
|
||||
"CURI");
|
||||
return
|
||||
"CURI";
|
||||
}
|
||||
|
||||
css::uno::Sequence< OUString > _getSupportedServiceNames()
|
||||
|
@@ -2465,7 +2465,7 @@ librdf_TypeConverter::convertToStatement(librdf_statement* i_pStmt,
|
||||
namespace comp_librdf_Repository {
|
||||
|
||||
OUString _getImplementationName() {
|
||||
return OUString("librdf_Repository");
|
||||
return "librdf_Repository";
|
||||
}
|
||||
|
||||
uno::Sequence< OUString > _getSupportedServiceNames()
|
||||
|
@@ -67,7 +67,7 @@ namespace XPath
|
||||
|
||||
OUString CXPathAPI::_getImplementationName()
|
||||
{
|
||||
return OUString(aImplementationName);
|
||||
return aImplementationName;
|
||||
}
|
||||
|
||||
Sequence<OUString> CXPathAPI::_getSupportedServiceNames()
|
||||
|
Reference in New Issue
Block a user