summaryrefslogtreecommitdiff
path: root/sc/inc/dptabres.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-09 10:09:42 +0200
committerNoel Grandin <noel@peralex.com>2014-06-09 10:10:13 +0200
commit184a00b96235f6432294ded63ce4a4a318effdb5 (patch)
treee4ae0e00cb168fa43d280cfb51a50515258b5320 /sc/inc/dptabres.hxx
parent534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff)
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'sc/inc/dptabres.hxx')
-rw-r--r--sc/inc/dptabres.hxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/sc/inc/dptabres.hxx b/sc/inc/dptabres.hxx
index 207e256eb25e..e02890a2ccb0 100644
--- a/sc/inc/dptabres.hxx
+++ b/sc/inc/dptabres.hxx
@@ -114,10 +114,10 @@ public:
ScDPResultMember* GetColResRoot() const { return pColResRoot; }
ScDPResultMember* GetRowResRoot() const { return pRowResRoot; }
- const IndexArray& GetColVisible() const;
- const IndexArray& GetColSorted() const;
- const IndexArray& GetRowVisible() const;
- const IndexArray& GetRowSorted() const;
+ const IndexArray& GetColVisible() const { return maColVisible;}
+ const IndexArray& GetColSorted() const { return maColSorted;}
+ const IndexArray& GetRowVisible() const { return maRowVisible;}
+ const IndexArray& GetRowSorted() const { return maRowSorted;}
void AddColIndex( long nVisible, long nSorted );
void AddRowIndex( long nVisible, long nSorted );
@@ -339,7 +339,7 @@ public:
ResultMembers* GetDimResultMembers(long nDim, ScDPDimension* pDim, ScDPLevel* pLevel) const;
- const ScDPSource& GetSource() const;
+ const ScDPSource& GetSource() const { return mrSource;}
};
class ScDPResultMember
@@ -381,7 +381,9 @@ public:
bool IsValid() const;
bool IsVisible() const;
long GetSize(long nMeasure) const;
- bool HasHiddenDetails() const;
+ // bHasHiddenDetails is set only if the "show details" flag is off,
+ // and there was a child dimension to skip
+ bool HasHiddenDetails() const { return bHasHiddenDetails; }
bool IsSubTotalInTitle(long nMeasure) const;
long GetSubTotalCount( long* pUserSubStart = NULL ) const;