summaryrefslogtreecommitdiff
path: root/sc/inc/dpsave.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-01-14 12:41:05 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-01-14 12:43:20 -0500
commit9c680fc88ce034af595b27f2bd0f58cf008c38e1 (patch)
treebe7df002e5d66b81431bc506be0ab009a5853479 /sc/inc/dpsave.hxx
parent4de38f4e20c69b429da98b0d93fbf00ec53dbb2f (diff)
More progress on unit-testing datapilot. But I'm still not through.
I'm not being successful with getting all dimension members shown. I must be missing something.....
Diffstat (limited to 'sc/inc/dpsave.hxx')
-rw-r--r--sc/inc/dpsave.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/sc/inc/dpsave.hxx b/sc/inc/dpsave.hxx
index cd84282adfb6..7400a1d5b1d0 100644
--- a/sc/inc/dpsave.hxx
+++ b/sc/inc/dpsave.hxx
@@ -174,6 +174,16 @@ public:
USHORT GetOrientation() const { return nOrientation; }
ScDPSaveMember* GetExistingMemberByName(const String& rName);
+
+ /**
+ * Get a member object by its name. If one doesn't exist, creat a new
+ * object and return it. This class manages the life cycle of all member
+ * objects belonging to it, so <i>don't delete the returned instance.</i>
+ *
+ * @param rName member name
+ *
+ * @return pointer to the member object.
+ */
ScDPSaveMember* GetMemberByName(const String& rName);
void SetMemberPosition( const String& rName, sal_Int32 nNewPos );