diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-02-13 17:36:17 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-02-13 18:03:09 -0500 |
commit | 0d22c49de2633ba540c00038633c60af172cc516 (patch) | |
tree | b77d9953557f43624fdb131e3779dafc76f28d04 /sc/inc/dpglobal.hxx | |
parent | c2aaa83660316b9c0ad01017ba3cee71a89176c5 (diff) |
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.hxx | 12 |
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: */ |