summaryrefslogtreecommitdiff
path: root/include/svx/sdr
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2014-02-18 21:18:13 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-19 20:29:12 +0000
commitdb1d2af02861b49e4f53d726d59cd71c20cee9b1 (patch)
treea4edfc1235314f5e3d03c45a52863a052ad19286 /include/svx/sdr
parent2237604b6b1d08439ac37f096a787c449a046b5f (diff)
Resolves: #i123539# some optimizations for 3D chart...
geometry creation using UNO API (cherry picked from commit bbe35be767d76d08891c4f3d3600d80e0e6805f2) Change-Id: Ic9b6ab8fc31cfe585f7c75d85bafe4613910c57a
Diffstat (limited to 'include/svx/sdr')
-rw-r--r--include/svx/sdr/contact/viewcontactofsdrole2obj.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/svx/sdr/contact/viewcontactofsdrole2obj.hxx b/include/svx/sdr/contact/viewcontactofsdrole2obj.hxx
index 87e37d02659f..89e51bf453b8 100644
--- a/include/svx/sdr/contact/viewcontactofsdrole2obj.hxx
+++ b/include/svx/sdr/contact/viewcontactofsdrole2obj.hxx
@@ -37,6 +37,10 @@ namespace sdr
{
class ViewContactOfSdrOle2Obj : public ViewContactOfSdrRectObj
{
+ private:
+ // #i123539# allow local buffering of chart data (if chart)
+ drawinglayer::primitive2d::Primitive2DReference mxChartContent;
+
protected:
// Create a Object-Specific ViewObjectContact, set ViewContact and
// ObjectContact. Always needs to return something.
@@ -62,6 +66,9 @@ namespace sdr
// from the VOC which knows that
drawinglayer::primitive2d::Primitive2DSequence createPrimitive2DSequenceWithParameters() const;
+ // #i123539# get rid of buffered chart content (if there) on change
+ virtual void ActionChanged();
+
protected:
// This method is responsible for creating the graphical visualisation data
// ONLY based on model data, just wraps to call createPrimitive2DSequenceWithParameters(false)