summaryrefslogtreecommitdiff
path: root/sc/source/core/data/dpnumgroupinfo.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-03-07 22:07:09 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-09 11:13:34 -0500
commit57c0ff6602dfbd0b7622a643e179923bf632cd87 (patch)
tree2d9f91bd3d2c3054ed3bdb56be7cb022ecd68800 /sc/source/core/data/dpnumgroupinfo.cxx
parente3ebacf3fdbafeafe02e2976c25c9299b1fd6bbd (diff)
Properly display grouped range values for range-based grouping.
Diffstat (limited to 'sc/source/core/data/dpnumgroupinfo.cxx')
-rw-r--r--sc/source/core/data/dpnumgroupinfo.cxx15
1 files changed, 14 insertions, 1 deletions
diff --git a/sc/source/core/data/dpnumgroupinfo.cxx b/sc/source/core/data/dpnumgroupinfo.cxx
index 6d4e4fa250ce..0b93bf48c2ea 100644
--- a/sc/source/core/data/dpnumgroupinfo.cxx
+++ b/sc/source/core/data/dpnumgroupinfo.cxx
@@ -29,7 +29,20 @@
#include "dpnumgroupinfo.hxx"
ScDPNumGroupInfo::ScDPNumGroupInfo() :
- mbEnable(false), mbDateValues(false), mbAutoStart(false), mbAutoEnd(false),
+ mbEnable(false),
+ mbDateValues(false),
+ mbAutoStart(false),
+ mbAutoEnd(false),
+ mbIntegerOnly(true),
mfStart(0.0), mfEnd(0.0), mfStep(0.0) {}
+ScDPNumGroupInfo::ScDPNumGroupInfo(const ScDPNumGroupInfo& r) :
+ mbEnable(r.mbEnable),
+ mbDateValues(r.mbDateValues),
+ mbAutoStart(r.mbAutoStart),
+ mbAutoEnd(r.mbAutoEnd),
+ mbIntegerOnly(r.mbIntegerOnly),
+ mfStart(r.mfStart),
+ mfEnd(r.mfEnd), mfStep(r.mfStep) {}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */