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/source/core/data/dpitemdata.cxx | |
parent | c2aaa83660316b9c0ad01017ba3cee71a89176c5 (diff) |
Switch integer constants to enum & prefix data members with 'm'.
Change-Id: I13374e160bb369f64fc6e661c43db5da657cbfd9
Diffstat (limited to 'sc/source/core/data/dpitemdata.cxx')
-rw-r--r-- | sc/source/core/data/dpitemdata.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/core/data/dpitemdata.cxx b/sc/source/core/data/dpitemdata.cxx index 85a6917dda86..9cac3e1093b5 100644 --- a/sc/source/core/data/dpitemdata.cxx +++ b/sc/source/core/data/dpitemdata.cxx @@ -267,21 +267,21 @@ ScDPItemData& ScDPItemData::operator= (const ScDPItemData& r) return *this; } -sal_uInt8 ScDPItemData::GetCellType() const +ScDPValueData::Type ScDPItemData::GetCellType() const { switch (meType) { case Error: - return SC_VALTYPE_ERROR; + return ScDPValueData::Error; case Empty: - return SC_VALTYPE_EMPTY; + return ScDPValueData::Empty; case Value: - return SC_VALTYPE_VALUE; + return ScDPValueData::Value; default: ; } - return SC_VALTYPE_STRING; + return ScDPValueData::String; } #if DEBUG_PIVOT_TABLE |