diff options
author | Tomaž Vajngerl <quikee@gmail.com> | 2013-12-01 12:33:42 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2013-12-01 12:36:26 +0100 |
commit | 1d96c4a097313fd5240d79dc70ffed95bd264f55 (patch) | |
tree | 73bae8cb6808f1be129d9f015ac329f4d1bc497b /sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx | |
parent | 0f4be588622379388650d8fc451829d17d16a7bf (diff) |
Add strings in statistics dialogs to the SRC/HRC file.
Change-Id: I8b66356a76586443fc5174c2af9c40bf2551b864
Diffstat (limited to 'sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx')
-rw-r--r-- | sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx b/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx index 3918654d50f6..432ca4673576 100644 --- a/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx @@ -10,12 +10,13 @@ #include "docsh.hxx" #include "reffact.hxx" +#include "strload.hxx" +#include "StatisticsDialogs.hrc" #include "CovarianceDialog.hxx" namespace { - static const OUString strCovarianceLabel("Covariances"); static const OUString strCovarianceTemplate("=COVAR(%VAR1%; %VAR2%)"); } @@ -32,12 +33,12 @@ sal_Bool ScCovarianceDialog::Close() return DoClose( ScCovarianceDialogWrapper::GetChildWindowId() ); } -const OUString& ScCovarianceDialog::getLabel() +const OUString ScCovarianceDialog::getLabel() { - return strCovarianceLabel; + return SC_STRLOAD(RID_STATISTICS_DLGS, STR_COVARIANCE_LABEL); } -const OUString& ScCovarianceDialog::getTemplate() +const OUString ScCovarianceDialog::getTemplate() { return strCovarianceTemplate; } |