diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-09 14:41:25 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-09 15:25:09 -0500 |
commit | 692496aa2e9acbb4b428cd395dbeb2ec8c8abc1e (patch) | |
tree | b078064e7ea74dda3d7462b6a9c85a8011cc1269 /sc/inc | |
parent | 0ee411e6870f73ad6000ebb2502c777cabe30bea (diff) |
Moved definitions of ScDPItemData where they belong.
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/dpglobal.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/inc/dpglobal.hxx b/sc/inc/dpglobal.hxx index 090a7a7bf31a..b5ce0190b7d3 100644 --- a/sc/inc/dpglobal.hxx +++ b/sc/inc/dpglobal.hxx @@ -81,6 +81,9 @@ public: MK_DATE = 0x08, MK_DATEPART = 0x10 }; + + static bool isDate( sal_uLong nNumType ); + private: union { @@ -90,7 +93,7 @@ private: String aString; double fValue; - sal_uInt8 mbFlag; + sal_uInt8 mbFlag; friend class ScDPCache; public: @@ -120,9 +123,7 @@ public: bool HasDatePart() const; void SetDate( bool b ) ; - sal_uInt8 GetType() const; - sal_uInt8 & GetFlag() throw() { return mbFlag; } - const sal_uInt8 & GetFlag() const throw() { return const_cast<ScDPItemData*>(this)->GetFlag(); } + sal_uInt8 GetType() const; }; class SC_DLLPUBLIC ScDPItemDataPool |