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:
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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(
|
||||
|
@@ -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()
|
||||
|
@@ -409,7 +409,7 @@ void ZipPackageFolder::doInsertByName ( ZipPackageEntry *pEntry, bool bSetParent
|
||||
|
||||
OUString ZipPackageFolder::getImplementationName()
|
||||
{
|
||||
return OUString("ZipPackageFolder");
|
||||
return "ZipPackageFolder";
|
||||
}
|
||||
|
||||
uno::Sequence< OUString > ZipPackageFolder::getSupportedServiceNames()
|
||||
|
@@ -56,7 +56,7 @@ uno::Any SAL_CALL ZipPackageFolderEnumeration::nextElement( )
|
||||
|
||||
OUString ZipPackageFolderEnumeration::getImplementationName()
|
||||
{
|
||||
return OUString ("ZipPackageFolderEnumeration");
|
||||
return "ZipPackageFolderEnumeration";
|
||||
}
|
||||
|
||||
uno::Sequence< OUString > ZipPackageFolderEnumeration::getSupportedServiceNames()
|
||||
|
@@ -1316,7 +1316,7 @@ void ZipPackageStream::setSize ( const sal_Int64 nNewSize )
|
||||
}
|
||||
OUString ZipPackageStream::getImplementationName()
|
||||
{
|
||||
return OUString ("ZipPackageStream");
|
||||
return "ZipPackageStream";
|
||||
}
|
||||
|
||||
Sequence< OUString > ZipPackageStream::getSupportedServiceNames()
|
||||
|
@@ -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(
|
||||
|
Reference in New Issue
Block a user