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>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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( )
|
||||
|
||||
@@ -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( )
|
||||
|
||||
Reference in New Issue
Block a user