summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpglobal.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-02-09 14:41:25 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-02-09 15:25:09 -0500
commit692496aa2e9acbb4b428cd395dbeb2ec8c8abc1e (patch)
treeb078064e7ea74dda3d7462b6a9c85a8011cc1269 /sc/inc/dpglobal.hxx
parentMore duplicated defines. (diff)
downloadcore-692496aa2e9acbb4b428cd395dbeb2ec8c8abc1e.tar.gz
core-692496aa2e9acbb4b428cd395dbeb2ec8c8abc1e.zip
Moved definitions of ScDPItemData where they belong.
Diffstat (limited to 'sc/inc/dpglobal.hxx')
-rw-r--r--sc/inc/dpglobal.hxx9
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