diff options
author | Michael Stahl <mstahl@redhat.com> | 2011-12-06 04:36:22 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2011-12-06 04:36:22 +0100 |
commit | 431604f9fa603a7acf67985c9e4851f37d9cd580 (patch) | |
tree | 2dbbe2e40af935229dbc8f2738dc446ab18a93b8 /avmedia/inc | |
parent | f3c19f8263f3352ce4efff0965f8000d8347f6a5 (diff) |
refactor media embedding completely:
Do the tempfile handling in SdrMediaObj, not in the window;
this has the advantage that it works even in the presence of clipboard
documents without SfxBaseModels and thus without storage (sc, sw).
The SdrMediaObj instances share ownership of a temp file.
Diffstat (limited to 'avmedia/inc')
-rw-r--r-- | avmedia/inc/avmedia/mediaitem.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/avmedia/inc/avmedia/mediaitem.hxx b/avmedia/inc/avmedia/mediaitem.hxx index 0e4af5c07507..c4121a123921 100644 --- a/avmedia/inc/avmedia/mediaitem.hxx +++ b/avmedia/inc/avmedia/mediaitem.hxx @@ -115,11 +115,10 @@ public: ::com::sun::star::media::ZoomLevel getZoom() const; void setURL( const ::rtl::OUString& rURL, - ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel> - const& xModel); + ::rtl::OUString const*const pTempURL); const ::rtl::OUString& getURL() const; - ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel> - getModel() const; + + const ::rtl::OUString& getTempURL() const; private: |