summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpobject.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-01-14 22:31:30 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-01-14 22:31:30 -0500
commit2a35bdaaba75ef95df791dce284f97679cfba57b (patch)
tree902df95caf8066849ab1c174fd9b68e4cc699306 /sc/inc/dpobject.hxx
parentTest on collator, which fails only during the unit test run. (diff)
downloadcore-2a35bdaaba75ef95df791dce284f97679cfba57b.tar.gz
core-2a35bdaaba75ef95df791dce284f97679cfba57b.zip
ScDPObject no longer has to be a child class of ScDataObject.
Diffstat (limited to 'sc/inc/dpobject.hxx')
-rw-r--r--sc/inc/dpobject.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index 9b504516b483..443f4b29bd0f 100644
--- a/sc/inc/dpobject.hxx
+++ b/sc/inc/dpobject.hxx
@@ -91,7 +91,7 @@ struct ScDPServiceDesc
};
-class SC_DLLPUBLIC ScDPObject : public ScDataObject
+class SC_DLLPUBLIC ScDPObject
{
private:
ScDocument* pDoc;
@@ -128,9 +128,7 @@ public:
ULONG RefreshCache();
ScDPObject( ScDocument* pD );
ScDPObject(const ScDPObject& r);
- virtual ~ScDPObject();
-
- virtual ScDataObject* Clone() const;
+ ~ScDPObject();
/**
* When a DP object is "alive", it has table output on a sheet. This flag