summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpglobal.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-02-13 17:36:17 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-02-13 18:03:09 -0500
commit0d22c49de2633ba540c00038633c60af172cc516 (patch)
treeb77d9953557f43624fdb131e3779dafc76f28d04 /sc/inc/dpglobal.hxx
parentdont echo ./g -z every time make is run (diff)
downloadcore-0d22c49de2633ba540c00038633c60af172cc516.tar.gz
core-0d22c49de2633ba540c00038633c60af172cc516.zip
Switch integer constants to enum & prefix data members with 'm'.
Change-Id: I13374e160bb369f64fc6e661c43db5da657cbfd9
Diffstat (limited to 'sc/inc/dpglobal.hxx')
-rw-r--r--sc/inc/dpglobal.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/sc/inc/dpglobal.hxx b/sc/inc/dpglobal.hxx
index fe94b3294069..6fffc643ba3a 100644
--- a/sc/inc/dpglobal.hxx
+++ b/sc/inc/dpglobal.hxx
@@ -35,6 +35,18 @@
#define PIVOT_FUNC_STD_VARP 0x0400
#define PIVOT_FUNC_AUTO 0x1000
+struct ScDPValueData
+{
+ enum Type { Empty = 0, Value, String, Error };
+
+ double mfValue;
+ Type meType;
+
+ ScDPValueData();
+
+ void Set( double fV, Type eT );
+};
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */