[Libreoffice-commits] core.git: sc/source

Andras Timar andras.timar at collabora.com
Fri Mar 20 14:36:12 PDT 2015


 sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 45c949c5a34cb73cdb08f85b2f33ae498c7c3c5c
Author: Andras Timar <andras.timar at collabora.com>
Date:   Fri Mar 20 22:32:53 2015 +0100

    Replace hardcoded UI string with string from .res file
    
    Change-Id: Iba362cc2ee624271dcc078d7e7ded1ef6ff44ae4

diff --git a/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx b/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
index 03a71ad..89e2fa4 100644
--- a/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
@@ -190,7 +190,7 @@ void ScAnalysisOfVarianceDialog::AnovaSingleFactor(AddressWalkerWriter& output,
     output.newLine();
 
     double aAlphaValue = mpAlphaField->GetValue() / 100.0;
-    output.writeString("Alpha");
+    output.writeString(SC_STRLOAD(RID_STATISTICS_DLGS, STR_LABEL_ALPHA));
     output.nextColumn();
     output.writeValue(aAlphaValue);
     aTemplate.autoReplaceAddress("%ALPHA%", output.current());


More information about the Libreoffice-commits mailing list