summaryrefslogtreecommitdiff
path: root/sc/source/ui/StatisticsDialogs
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:49:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:55:48 +0200
commitef59252a7a3e9474569710866ab4ff5c1225cff7 (patch)
tree2e44048187b5606567e6e89771605437adeaf895 /sc/source/ui/StatisticsDialogs
parentb890de156e335eb10ba70530d9b0599d602ccf07 (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): sc
Change-Id: I1bfd2bb623aac5ac457a0b719da64ab393ccd0ba Reviewed-on: https://gerrit.libreoffice.org/76654 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/source/ui/StatisticsDialogs')
-rw-r--r--sc/source/ui/StatisticsDialogs/CorrelationDialog.cxx2
-rw-r--r--sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/StatisticsDialogs/CorrelationDialog.cxx b/sc/source/ui/StatisticsDialogs/CorrelationDialog.cxx
index 6ac135d33b43..e0bde397dd8e 100644
--- a/sc/source/ui/StatisticsDialogs/CorrelationDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/CorrelationDialog.cxx
@@ -33,7 +33,7 @@ const OUString ScCorrelationDialog::getLabel()
const OUString ScCorrelationDialog::getTemplate()
{
- return OUString("=CORREL(%VAR1%; %VAR2%)");
+ return "=CORREL(%VAR1%; %VAR2%)";
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx b/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx
index f447b89d0c93..6debc46e22a4 100644
--- a/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx
@@ -38,7 +38,7 @@ const OUString ScCovarianceDialog::getLabel()
const OUString ScCovarianceDialog::getTemplate()
{
- return OUString("=COVAR(%VAR1%; %VAR2%)");
+ return "=COVAR(%VAR1%; %VAR2%)";
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */