summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpitemdata.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-02-29 15:32:49 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-09 11:13:27 -0500
commitfb5286177df3e7f9ebf1286383f4e4e91e2023a2 (patch)
treeb839d110d5a7ab0aff838940e7bd91dcb4db010f /sc/inc/dpitemdata.hxx
parentGroup by Field struct, instead of keeping 2 dimensional arrays in each. (diff)
downloadcore-fb5286177df3e7f9ebf1286383f4e4e91e2023a2.tar.gz
core-fb5286177df3e7f9ebf1286383f4e4e91e2023a2.zip
We don't need the date part flag.
Diffstat (limited to 'sc/inc/dpitemdata.hxx')
-rw-r--r--sc/inc/dpitemdata.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/inc/dpitemdata.hxx b/sc/inc/dpitemdata.hxx
index d33a21883f9b..79763630ad52 100644
--- a/sc/inc/dpitemdata.hxx
+++ b/sc/inc/dpitemdata.hxx
@@ -44,13 +44,13 @@ class ScDocument;
class SC_DLLPUBLIC ScDPItemData
{
+ friend class ScDPCache;
public:
enum {
MK_VAL = 0x01,
MK_DATA = 0x02,
MK_ERR = 0x04,
- MK_DATE = 0x08,
- MK_DATEPART = 0x10
+ MK_DATE = 0x08
};
static bool isDate( sal_uLong nNumType );
@@ -61,7 +61,6 @@ private:
double mfValue;
sal_uInt8 mbFlag;
- friend class ScDPCache;
public:
ScDPItemData();
ScDPItemData(sal_uLong nNF, const rtl::OUString & rS, double fV, sal_uInt8 bF);
@@ -87,7 +86,6 @@ public:
double GetValue() const ;
bool HasStringData() const ;
bool IsDate() const;
- bool HasDatePart() const;
void SetDate( bool b ) ;
sal_uInt8 GetType() const;