Improved loplugin:stringconstant (now that GCC 7 supports it): configmgr
Change-Id: Ie82faef06ea13d1a0d3007915334822d3f4f94e3 Reviewed-on: https://gerrit.libreoffice.org/76690 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
@@ -232,7 +232,7 @@ OUString Access::getImplementationName()
|
|||||||
assert(thisIs(IS_ANY));
|
assert(thisIs(IS_ANY));
|
||||||
osl::MutexGuard g(*lock_);
|
osl::MutexGuard g(*lock_);
|
||||||
checkLocalizedPropertyAccess();
|
checkLocalizedPropertyAccess();
|
||||||
return OUString("org.openoffice-configmgr::Access");
|
return "org.openoffice-configmgr::Access";
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_Bool Access::supportsService(OUString const & ServiceName)
|
sal_Bool Access::supportsService(OUString const & ServiceName)
|
||||||
|
@@ -444,7 +444,7 @@ css::uno::Reference< css::uno::XInterface > createDefault(
|
|||||||
}
|
}
|
||||||
|
|
||||||
OUString getImplementationName() {
|
OUString getImplementationName() {
|
||||||
return OUString("com.sun.star.comp.configuration.ConfigurationProvider");
|
return "com.sun.star.comp.configuration.ConfigurationProvider";
|
||||||
}
|
}
|
||||||
|
|
||||||
css::uno::Sequence< OUString > getSupportedServiceNames() {
|
css::uno::Sequence< OUString > getSupportedServiceNames() {
|
||||||
|
@@ -637,7 +637,7 @@ css::uno::Reference< css::uno::XInterface > create(
|
|||||||
}
|
}
|
||||||
|
|
||||||
OUString getImplementationName() {
|
OUString getImplementationName() {
|
||||||
return OUString("com.sun.star.comp.configuration.ConfigurationRegistry");
|
return "com.sun.star.comp.configuration.ConfigurationRegistry";
|
||||||
}
|
}
|
||||||
|
|
||||||
css::uno::Sequence< OUString > getSupportedServiceNames() {
|
css::uno::Sequence< OUString > getSupportedServiceNames() {
|
||||||
|
@@ -41,7 +41,7 @@ css::uno::Reference< css::uno::XInterface > create(
|
|||||||
}
|
}
|
||||||
|
|
||||||
OUString getImplementationName() {
|
OUString getImplementationName() {
|
||||||
return OUString("com.sun.star.comp.configuration.DefaultProvider");
|
return "com.sun.star.comp.configuration.DefaultProvider";
|
||||||
}
|
}
|
||||||
|
|
||||||
css::uno::Sequence< OUString > getSupportedServiceNames() {
|
css::uno::Sequence< OUString > getSupportedServiceNames() {
|
||||||
|
@@ -41,7 +41,7 @@ rtl::Reference< Node > LocalizedValueNode::clone(bool) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
OUString LocalizedValueNode::getTemplateName() const {
|
OUString LocalizedValueNode::getTemplateName() const {
|
||||||
return OUString("*");
|
return "*";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -117,7 +117,7 @@ css::uno::Reference< css::uno::XInterface > create(
|
|||||||
}
|
}
|
||||||
|
|
||||||
OUString getImplementationName() {
|
OUString getImplementationName() {
|
||||||
return OUString("com.sun.star.comp.configuration.ReadOnlyAccess");
|
return "com.sun.star.comp.configuration.ReadOnlyAccess";
|
||||||
}
|
}
|
||||||
|
|
||||||
css::uno::Sequence< OUString > getSupportedServiceNames() {
|
css::uno::Sequence< OUString > getSupportedServiceNames() {
|
||||||
|
@@ -139,7 +139,7 @@ css::uno::Reference< css::uno::XInterface > create(
|
|||||||
}
|
}
|
||||||
|
|
||||||
OUString getImplementationName() {
|
OUString getImplementationName() {
|
||||||
return OUString("com.sun.star.comp.configuration.ReadWriteAccess");
|
return "com.sun.star.comp.configuration.ReadWriteAccess";
|
||||||
}
|
}
|
||||||
|
|
||||||
css::uno::Sequence< OUString > getSupportedServiceNames() {
|
css::uno::Sequence< OUString > getSupportedServiceNames() {
|
||||||
|
@@ -303,7 +303,7 @@ OUString RootAccess::getImplementationName()
|
|||||||
assert(thisIs(IS_ANY));
|
assert(thisIs(IS_ANY));
|
||||||
osl::MutexGuard g(*lock_);
|
osl::MutexGuard g(*lock_);
|
||||||
checkLocalizedPropertyAccess();
|
checkLocalizedPropertyAccess();
|
||||||
return OUString("configmgr.RootAccess");
|
return "configmgr.RootAccess";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -148,7 +148,7 @@ css::uno::Reference< css::uno::XInterface > create(
|
|||||||
}
|
}
|
||||||
|
|
||||||
OUString getImplementationName() {
|
OUString getImplementationName() {
|
||||||
return OUString("com.sun.star.comp.configuration.Update");
|
return "com.sun.star.comp.configuration.Update";
|
||||||
}
|
}
|
||||||
|
|
||||||
css::uno::Sequence< OUString > getSupportedServiceNames() {
|
css::uno::Sequence< OUString > getSupportedServiceNames() {
|
||||||
|
Reference in New Issue
Block a user