summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpitemdata.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-03-16 23:34:31 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-16 23:34:31 -0400
commit99b9c0bfccd73a97d99666986cc9e84a0e8f9aeb (patch)
treee0c94624b8170f76479349a33c96ebf8e6c0628e /sc/inc/dpitemdata.hxx
parentUse shared string pool to share string instances among string item values. (diff)
downloadcore-99b9c0bfccd73a97d99666986cc9e84a0e8f9aeb.tar.gz
core-99b9c0bfccd73a97d99666986cc9e84a0e8f9aeb.zip
Added class description.
Diffstat (limited to 'sc/inc/dpitemdata.hxx')
-rw-r--r--sc/inc/dpitemdata.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/inc/dpitemdata.hxx b/sc/inc/dpitemdata.hxx
index 20535a8afb80..b0f361b96a29 100644
--- a/sc/inc/dpitemdata.hxx
+++ b/sc/inc/dpitemdata.hxx
@@ -44,6 +44,14 @@
class ScDocument;
+/**
+ * When assigning a string value, you can also assign an interned string
+ * whose life-cycle is managed by the pivot cache that it belongs to. Those
+ * methods that take a string pointer assume that the string is interned.
+ *
+ * <p>Do make sure that an item with an interned string won't persist after
+ * the pivot cache has been destroyed or reloaded.</p>
+ */
class SC_DLLPUBLIC ScDPItemData
{
friend class ScDPCache;