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

New commits:
commit 92442a9276e58f0c82e0a84fa4c47f549f25b629
Author: Tor Lillqvist <tlillqv...@suse.com>
Date:   Thu Jul 25 13:07:57 2013 +0300

    WaE: default constructor could not be generated (because of const member(s))
    
    The aCalculationNameId member doesn't need to be const, the data in
    the lclCalcDefinitions array (which is the only use for the
    StatisticCalculation struct) will be const anyway because the array is
    const.
    
    (The aFormula member isn't const, it's a pointer to const chars;))
    
    Change-Id: I8b2549009d72a4b7df992651597247dff2c45be9

diff --git a/sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx 
b/sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx
index ed9d57b..b4d8915 100644
--- a/sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx
@@ -33,7 +33,7 @@ namespace
 {
 
 struct StatisticCalculation {
-    const sal_Int16 aCalculationNameId;
+    sal_Int16 aCalculationNameId;
     const char*     aFormula;
 };
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to