summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:43:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:51:48 +0200
commitaf896b031cf9ac2d35bdf6570c6a451fd00a0d1c (patch)
treedb26083c1fc9d3c994373cad29d64227d44cb295 /xmlscript
parentd55e9567b5e0f5fa0499ccfabee6b756dff0ad7e (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): xmlscript
Change-Id: Ic294ce631c87f2a7ecbcec69f9ecd38183d7dd45 Reviewed-on: https://gerrit.libreoffice.org/76622 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xml_helper/xml_impctx.cxx2
-rw-r--r--xmlscript/source/xmlflat_imexp/xmlbas_export.cxx4
-rw-r--r--xmlscript/source/xmlflat_imexp/xmlbas_import.cxx4
3 files changed, 5 insertions, 5 deletions
diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx
index acdb002b6ec2..00a6de79a7af 100644
--- a/xmlscript/source/xml_helper/xml_impctx.cxx
+++ b/xmlscript/source/xml_helper/xml_impctx.cxx
@@ -54,7 +54,7 @@ Sequence< OUString > getSupportedServiceNames_DocumentHandlerImpl()
OUString getImplementationName_DocumentHandlerImpl()
{
- return OUString( "com.sun.star.comp.xml.input.SaxDocumentHandler" );
+ return "com.sun.star.comp.xml.input.SaxDocumentHandler";
}
typedef std::unordered_map< OUString, sal_Int32 > t_OUString2LongMap;
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
index ed1ca3da901e..76a20aa3a5a5 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
@@ -337,7 +337,7 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence< beans::PropertyValue >& /
OUString XMLBasicExporter::getImplementationName( )
{
- return OUString( "com.sun.star.comp.xmlscript.XMLBasicExporter" );
+ return "com.sun.star.comp.xmlscript.XMLBasicExporter";
}
Sequence< OUString > XMLBasicExporter::getSupportedServiceNames( )
@@ -361,7 +361,7 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence< beans::PropertyValue >& /
OUString XMLOasisBasicExporter::getImplementationName( )
{
- return OUString( "com.sun.star.comp.xmlscript.XMLOasisBasicExporter" );
+ return "com.sun.star.comp.xmlscript.XMLOasisBasicExporter";
}
Sequence< OUString > XMLOasisBasicExporter::getSupportedServiceNames( )
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
index 4c7b4bf39876..f39f4ffef3b4 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
@@ -594,7 +594,7 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x
OUString XMLBasicImporter::getImplementationName( )
{
- return OUString( "com.sun.star.comp.xmlscript.XMLBasicImporter" );
+ return "com.sun.star.comp.xmlscript.XMLBasicImporter";
}
Sequence< OUString > XMLBasicImporter::getSupportedServiceNames( )
@@ -618,7 +618,7 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x
OUString XMLOasisBasicImporter::getImplementationName( )
{
- return OUString( "com.sun.star.comp.xmlscript.XMLOasisBasicImporter" );
+ return "com.sun.star.comp.xmlscript.XMLOasisBasicImporter";
}
Sequence< OUString > XMLOasisBasicImporter::getSupportedServiceNames( )