summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:52:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:56:35 +0200
commitde1d80075ca88ad51bf4c99d1a4805162d73491a (patch)
treefb29165e06cf2fd61f34060fc86a0c8087fb9b15 /package
parent8a45f6fc04b5ee82969f8c8001341b9bd99166e6 (diff)
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>
Diffstat (limited to 'package')
-rw-r--r--package/source/manifest/ManifestReader.cxx2
-rw-r--r--package/source/manifest/ManifestWriter.cxx2
-rw-r--r--package/source/xstor/xfactory.cxx2
-rw-r--r--package/source/zippackage/ZipPackage.cxx2
-rw-r--r--package/source/zippackage/ZipPackageFolder.cxx2
-rw-r--r--package/source/zippackage/ZipPackageFolderEnumeration.cxx2
-rw-r--r--package/source/zippackage/ZipPackageStream.cxx2
-rw-r--r--package/source/zippackage/zipfileaccess.cxx2
8 files changed, 8 insertions, 8 deletions
diff --git a/package/source/manifest/ManifestReader.cxx b/package/source/manifest/ManifestReader.cxx
index af32ddb5ae97..50fd851b31b8 100644
--- a/package/source/manifest/ManifestReader.cxx
+++ b/package/source/manifest/ManifestReader.cxx
@@ -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()
diff --git a/package/source/manifest/ManifestWriter.cxx b/package/source/manifest/ManifestWriter.cxx
index 871ed999951a..8fbb9bd6a177 100644
--- a/package/source/manifest/ManifestWriter.cxx
+++ b/package/source/manifest/ManifestWriter.cxx
@@ -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()
diff --git a/package/source/xstor/xfactory.cxx b/package/source/xstor/xfactory.cxx
index 26116a0eae56..2b28fdc81cd6 100644
--- a/package/source/xstor/xfactory.cxx
+++ b/package/source/xstor/xfactory.cxx
@@ -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(
diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx
index 5a715d3ccfda..f5d8ca351ba9 100644
--- a/package/source/zippackage/ZipPackage.cxx
+++ b/package/source/zippackage/ZipPackage.cxx
@@ -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()
diff --git a/package/source/zippackage/ZipPackageFolder.cxx b/package/source/zippackage/ZipPackageFolder.cxx
index bd7512a19fc8..0b5ae3623a62 100644
--- a/package/source/zippackage/ZipPackageFolder.cxx
+++ b/package/source/zippackage/ZipPackageFolder.cxx
@@ -409,7 +409,7 @@ void ZipPackageFolder::doInsertByName ( ZipPackageEntry *pEntry, bool bSetParent
OUString ZipPackageFolder::getImplementationName()
{
- return OUString("ZipPackageFolder");
+ return "ZipPackageFolder";
}
uno::Sequence< OUString > ZipPackageFolder::getSupportedServiceNames()
diff --git a/package/source/zippackage/ZipPackageFolderEnumeration.cxx b/package/source/zippackage/ZipPackageFolderEnumeration.cxx
index 229a659d4025..bcedad425f18 100644
--- a/package/source/zippackage/ZipPackageFolderEnumeration.cxx
+++ b/package/source/zippackage/ZipPackageFolderEnumeration.cxx
@@ -56,7 +56,7 @@ uno::Any SAL_CALL ZipPackageFolderEnumeration::nextElement( )
OUString ZipPackageFolderEnumeration::getImplementationName()
{
- return OUString ("ZipPackageFolderEnumeration");
+ return "ZipPackageFolderEnumeration";
}
uno::Sequence< OUString > ZipPackageFolderEnumeration::getSupportedServiceNames()
diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx
index cb0c1cd3dff9..7332cdc366b6 100644
--- a/package/source/zippackage/ZipPackageStream.cxx
+++ b/package/source/zippackage/ZipPackageStream.cxx
@@ -1316,7 +1316,7 @@ void ZipPackageStream::setSize ( const sal_Int64 nNewSize )
}
OUString ZipPackageStream::getImplementationName()
{
- return OUString ("ZipPackageStream");
+ return "ZipPackageStream";
}
Sequence< OUString > ZipPackageStream::getSupportedServiceNames()
diff --git a/package/source/zippackage/zipfileaccess.cxx b/package/source/zippackage/zipfileaccess.cxx
index 45079fdbaec3..f5b0a4b434cf 100644
--- a/package/source/zippackage/zipfileaccess.cxx
+++ b/package/source/zippackage/zipfileaccess.cxx
@@ -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(