summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:59:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 13:01:42 +0200
commit40c250cae0c75b1762eb89caf66c14d37ffe5288 (patch)
tree28283618ae0e696eb7c8fb384b477122c041ef68 /UnoControls
parentda40541afb7502156e5715715ee527f92dd62354 (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): UnoControls
Change-Id: I4f24cb6e5c44b27dc0fc85ddadedb7a93b4e5eb4 Reviewed-on: https://gerrit.libreoffice.org/76701 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/source/controls/framecontrol.cxx2
-rw-r--r--UnoControls/source/controls/progressbar.cxx2
-rw-r--r--UnoControls/source/controls/progressmonitor.cxx2
-rw-r--r--UnoControls/source/controls/statusindicator.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/UnoControls/source/controls/framecontrol.cxx b/UnoControls/source/controls/framecontrol.cxx
index 263391c2827b..29545629b508 100644
--- a/UnoControls/source/controls/framecontrol.cxx
+++ b/UnoControls/source/controls/framecontrol.cxx
@@ -260,7 +260,7 @@ const Sequence< OUString > FrameControl::impl_getStaticSupportedServiceNames()
const OUString FrameControl::impl_getStaticImplementationName()
{
- return OUString("stardiv.UnoControls.FrameControl");
+ return "stardiv.UnoControls.FrameControl";
}
// OPropertySetHelper
diff --git a/UnoControls/source/controls/progressbar.cxx b/UnoControls/source/controls/progressbar.cxx
index 662242cc4ab2..79fd29a6c5a1 100644
--- a/UnoControls/source/controls/progressbar.cxx
+++ b/UnoControls/source/controls/progressbar.cxx
@@ -294,7 +294,7 @@ const Sequence< OUString > ProgressBar::impl_getStaticSupportedServiceNames()
const OUString ProgressBar::impl_getStaticImplementationName()
{
- return OUString("stardiv.UnoControls.ProgressBar");
+ return "stardiv.UnoControls.ProgressBar";
}
// protected method
diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx
index f1cfc7966874..c510cca4e18d 100644
--- a/UnoControls/source/controls/progressmonitor.cxx
+++ b/UnoControls/source/controls/progressmonitor.cxx
@@ -530,7 +530,7 @@ const Sequence< OUString > ProgressMonitor::impl_getStaticSupportedServiceNames(
// impl but public method to register service
const OUString ProgressMonitor::impl_getStaticImplementationName()
{
- return OUString("stardiv.UnoControls.ProgressMonitor");
+ return "stardiv.UnoControls.ProgressMonitor";
}
// protected method
diff --git a/UnoControls/source/controls/statusindicator.cxx b/UnoControls/source/controls/statusindicator.cxx
index 55652ddf7954..c1867742f0b5 100644
--- a/UnoControls/source/controls/statusindicator.cxx
+++ b/UnoControls/source/controls/statusindicator.cxx
@@ -349,7 +349,7 @@ const Sequence< OUString > StatusIndicator::impl_getStaticSupportedServiceNames(
const OUString StatusIndicator::impl_getStaticImplementationName()
{
- return OUString("stardiv.UnoControls.StatusIndicator");
+ return "stardiv.UnoControls.StatusIndicator";
}
// protected method