summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpitemdata.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-03-02 17:28:59 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-09 11:13:28 -0500
commit20624fe17bc0a367c5f1d46c8244b7e3d0a7e110 (patch)
tree706d518ba05990404b93425eccf41fefc51d7f37 /sc/inc/dpitemdata.hxx
parentMassive rework to reduce the size of ScDPItemData. (diff)
downloadcore-20624fe17bc0a367c5f1d46c8244b7e3d0a7e110.tar.gz
core-20624fe17bc0a367c5f1d46c8244b7e3d0a7e110.zip
Custom copy constructor and assignment operator to fix segfault.
Diffstat (limited to 'sc/inc/dpitemdata.hxx')
-rw-r--r--sc/inc/dpitemdata.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/dpitemdata.hxx b/sc/inc/dpitemdata.hxx
index ec95038b53af..01bb425f78b3 100644
--- a/sc/inc/dpitemdata.hxx
+++ b/sc/inc/dpitemdata.hxx
@@ -70,6 +70,7 @@ public:
static sal_Int32 Compare(const ScDPItemData& rA, const ScDPItemData& rB);
ScDPItemData();
+ ScDPItemData(const ScDPItemData& r);
ScDPItemData(const rtl::OUString& rStr);
ScDPItemData(double fVal);
ScDPItemData(sal_Int32 nGroupType, sal_Int32 nValue);
@@ -86,6 +87,8 @@ public:
// exact equality
bool operator==(const ScDPItemData& r) const;
+ ScDPItemData& operator= (const ScDPItemData& r);
+
bool IsEmpty() const;
bool IsValue() const;
rtl::OUString GetString() const;