diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-09-25 12:14:15 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-09-25 12:57:02 +0100 |
commit | a00648547aa49ac0a80eea7441b53c842c323e83 (patch) | |
tree | 6abec122118e86f06c2e7be8524f2db2c4938414 /svx/inc | |
parent | avoid self assignment crash (diff) | |
download | core-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.hxx | 5 |
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: |