summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpgroup.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-03-07 15:27:17 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-09 11:13:33 -0500
commit7d53e6da1f9f36d8fc1040c823ba16723930012d (patch)
tree3b0cdc6e09eda10efb4aaab759404ee5aa74b2e3 /sc/inc/dpgroup.hxx
parentMore scope reduction. (diff)
downloadcore-7d53e6da1f9f36d8fc1040c823ba16723930012d.tar.gz
core-7d53e6da1f9f36d8fc1040c823ba16723930012d.zip
Get number-grouping to work again.
Though I stil need to fix the sorting issue, which occurs because I use string items to represent the range items.
Diffstat (limited to 'sc/inc/dpgroup.hxx')
-rw-r--r--sc/inc/dpgroup.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/inc/dpgroup.hxx b/sc/inc/dpgroup.hxx
index 6d66136a93eb..cff5c4bed390 100644
--- a/sc/inc/dpgroup.hxx
+++ b/sc/inc/dpgroup.hxx
@@ -127,9 +127,9 @@ typedef ::std::vector<ScDPGroupDimension> ScDPGroupDimensionVec;
class SC_DLLPUBLIC ScDPNumGroupDimension
{
- ScDPNumGroupInfo aGroupInfo; // settings
+ mutable ScDPNumGroupInfo aGroupInfo; // settings
ScDPDateGroupHelper* pDateHelper;
- mutable ::std::vector< SCROW > maMemberEntries;
+ mutable std::vector<SCROW> maMemberEntries;
mutable bool bHasNonInteger; // initialized in GetNumEntries
mutable sal_Unicode cDecSeparator; // initialized in GetNumEntries
@@ -148,8 +148,7 @@ public:
const ScDPDateGroupHelper* GetDateHelper() const { return pDateHelper; }
const std::vector<SCROW>& GetNumEntries(
- SCCOL nSourceDim, const ScDPCache* pCache,
- const std::vector< SCROW >& rOriginal) const;
+ SCCOL nSourceDim, ScDPCache* pCache, const std::vector<SCROW>& rOriginal) const;
void MakeDateHelper( const ScDPNumGroupInfo& rInfo, long nDim, sal_Int32 nPart );