diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-29 19:18:39 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-03-09 11:13:28 -0500 |
commit | 244a9ef6047b47a65990dd15665ea483240cc563 (patch) | |
tree | 1ab3c9d60905d12d87ca7948254bb3fcbd72ddec /sc/inc/dpitemdata.hxx | |
parent | fb5286177df3e7f9ebf1286383f4e4e91e2023a2 (diff) |
ScDPItemData no longer stores number format.
This brings its size down by 4/8 bytes.
Diffstat (limited to 'sc/inc/dpitemdata.hxx')
-rw-r--r-- | sc/inc/dpitemdata.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sc/inc/dpitemdata.hxx b/sc/inc/dpitemdata.hxx index 79763630ad52..4213428f6bff 100644 --- a/sc/inc/dpitemdata.hxx +++ b/sc/inc/dpitemdata.hxx @@ -56,19 +56,18 @@ public: static bool isDate( sal_uLong nNumType ); private: - sal_uLong mnNumFormat; rtl::OUString maString; double mfValue; sal_uInt8 mbFlag; public: ScDPItemData(); - ScDPItemData(sal_uLong nNF, const rtl::OUString & rS, double fV, sal_uInt8 bF); - ScDPItemData(const rtl::OUString& rS, double fV = 0.0, bool bHV = false, - const sal_uLong nNumFormat = 0, bool bData = true); - ScDPItemData(ScDocument* pDoc, SCCOL nCol, SCROW nRow, SCTAB nDocTab); + ScDPItemData(const rtl::OUString& rS, double fV, sal_uInt8 bF); + ScDPItemData(const rtl::OUString& rS, double fV = 0.0, bool bHV = false, bool bData = true); + void Set(const rtl::OUString& rS, double fVal, sal_uInt8 nFlag); void SetString(const rtl::OUString& rS); + void SetErrorString(const rtl::OUString& rS); bool IsCaseInsEqual(const ScDPItemData& r) const; size_t Hash() const; |