Improved loplugin:stringconstant (now that GCC 7 supports it): package

Change-Id: I98b112820d4254dae92a6152dcec7506518c924b
Reviewed-on: https://gerrit.libreoffice.org/76660
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2019-07-30 17:52:47 +02:00
parent 8a45f6fc04
commit de1d80075c
8 changed files with 8 additions and 8 deletions

View File

@@ -87,7 +87,7 @@ static Reference < XInterface > ManifestReader_createInstance( Reference< XMulti
}
OUString ManifestReader::static_getImplementationName()
{
return OUString( "com.sun.star.packages.manifest.comp.ManifestReader" );
return "com.sun.star.packages.manifest.comp.ManifestReader";
}
Sequence < OUString > ManifestReader::static_getSupportedServiceNames()

View File

@@ -80,7 +80,7 @@ static Reference < XInterface > ManifestWriter_createInstance( Reference< XMulti
OUString ManifestWriter::static_getImplementationName()
{
return OUString ( "com.sun.star.packages.manifest.comp.ManifestWriter" );
return "com.sun.star.packages.manifest.comp.ManifestWriter";
}
Sequence < OUString > ManifestWriter::static_getSupportedServiceNames()

View File

@@ -76,7 +76,7 @@ uno::Sequence< OUString > OStorageFactory::impl_staticGetSupportedServiceNames()
OUString OStorageFactory::impl_staticGetImplementationName()
{
return OUString("com.sun.star.comp.embed.StorageFactory");
return "com.sun.star.comp.embed.StorageFactory";
}
uno::Reference< uno::XInterface > OStorageFactory::impl_staticCreateSelfInstance(

View File

@@ -1679,7 +1679,7 @@ static uno::Reference < XInterface > ZipPackage_createInstance(
OUString ZipPackage::static_getImplementationName()
{
return OUString("com.sun.star.packages.comp.ZipPackage");
return "com.sun.star.packages.comp.ZipPackage";
}
Sequence< OUString > ZipPackage::static_getSupportedServiceNames()

View File

@@ -409,7 +409,7 @@ void ZipPackageFolder::doInsertByName ( ZipPackageEntry *pEntry, bool bSetParent
OUString ZipPackageFolder::getImplementationName()
{
return OUString("ZipPackageFolder");
return "ZipPackageFolder";
}
uno::Sequence< OUString > ZipPackageFolder::getSupportedServiceNames()

View File

@@ -56,7 +56,7 @@ uno::Any SAL_CALL ZipPackageFolderEnumeration::nextElement( )
OUString ZipPackageFolderEnumeration::getImplementationName()
{
return OUString ("ZipPackageFolderEnumeration");
return "ZipPackageFolderEnumeration";
}
uno::Sequence< OUString > ZipPackageFolderEnumeration::getSupportedServiceNames()

View File

@@ -1316,7 +1316,7 @@ void ZipPackageStream::setSize ( const sal_Int64 nNewSize )
}
OUString ZipPackageStream::getImplementationName()
{
return OUString ("ZipPackageStream");
return "ZipPackageStream";
}
Sequence< OUString > ZipPackageStream::getSupportedServiceNames()

View File

@@ -461,7 +461,7 @@ uno::Sequence< OUString > OZipFileAccess::impl_staticGetSupportedServiceNames()
OUString OZipFileAccess::impl_staticGetImplementationName()
{
return OUString("com.sun.star.comp.package.zip.ZipFileAccess");
return "com.sun.star.comp.package.zip.ZipFileAccess";
}
uno::Reference< uno::XInterface > OZipFileAccess::impl_staticCreateSelfInstance(