From db1d2af02861b49e4f53d726d59cd71c20cee9b1 Mon Sep 17 00:00:00 2001 From: Armin Le Grand Date: Tue, 18 Feb 2014 21:18:13 +0000 Subject: Resolves: #i123539# some optimizations for 3D chart... geometry creation using UNO API (cherry picked from commit bbe35be767d76d08891c4f3d3600d80e0e6805f2) Change-Id: Ic9b6ab8fc31cfe585f7c75d85bafe4613910c57a --- include/svx/sdr/contact/viewcontactofsdrole2obj.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/svx/sdr') 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) -- cgit v1.2.3