summaryrefslogtreecommitdiff
path: root/sc/source/core/data/dpitemdata.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-03-06 01:38:14 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-09 11:13:31 -0500
commit5e7daf4ab990c4719332e1c6df06cc477bdb3631 (patch)
tree4040b39df68da849712a0eedf477e7bd61671e4b /sc/source/core/data/dpitemdata.cxx
parentc2f8b7a17e71f9379db7d44e763ad831cfd27825 (diff)
Display special first/last date names correctly.
Diffstat (limited to 'sc/source/core/data/dpitemdata.cxx')
-rw-r--r--sc/source/core/data/dpitemdata.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/data/dpitemdata.cxx b/sc/source/core/data/dpitemdata.cxx
index 97e6a35d94c8..36ee710fd831 100644
--- a/sc/source/core/data/dpitemdata.cxx
+++ b/sc/source/core/data/dpitemdata.cxx
@@ -34,6 +34,9 @@
#include "globstr.hrc"
#include "dptabdat.hxx"
+const sal_Int32 ScDPItemData::DateFirst = -1;
+const sal_Int32 ScDPItemData::DateLast = 10000;
+
sal_Int32 ScDPItemData::Compare(const ScDPItemData& rA, const ScDPItemData& rB)
{
if (rA.meType != rB.meType)