summaryrefslogtreecommitdiffstats
path: root/svx/inc
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-09-25 12:14:15 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-09-25 12:57:02 +0100
commita00648547aa49ac0a80eea7441b53c842c323e83 (patch)
tree6abec122118e86f06c2e7be8524f2db2c4938414 /svx/inc
parentavoid self assignment crash (diff)
downloadcore-a00648547aa49ac0a80eea7441b53c842c323e83.tar.gz
core-a00648547aa49ac0a80eea7441b53c842c323e83.zip
substantially accelerate slides with media on them.
Don't pre-roll, and re-snapshot the video for every move of the mouse, click, partial re-render etc. Cache that instead on the SdrMediaObj. Remove unused setGraphic method. Change-Id: Id2af2f0bba857078480783dd6a7ee89f9b331b1b
Diffstat (limited to 'svx/inc')
-rw-r--r--svx/inc/svx/svdomedia.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/inc/svx/svdomedia.hxx b/svx/inc/svx/svdomedia.hxx
index e3e2f4248877..ddfc18c9c52a 100644
--- a/svx/inc/svx/svdomedia.hxx
+++ b/svx/inc/svx/svdomedia.hxx
@@ -77,9 +77,10 @@ public:
Size getPreferredSize() const;
- void setGraphic( const Graphic* pGraphic = NULL );
+ ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic >
+ getSnapshot();
::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream>
- GetInputStream();
+ GetInputStream();
protected: