diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-13 19:01:12 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-13 19:23:41 +0200 |
commit | 220a3686921847b71dc72b69ce98ba260b951610 (patch) | |
tree | c10fc83c4abc99dd1685a7542f954ce9f6f3388c /include | |
parent | 8b7f96d257724656ac4a4303b17285be2ed13886 (diff) |
oox: refactor embedded media import
Currently the oox import creates a temp file and leaks it, and there is
no way to clean it up afterwards. Unfortunately it turns out that
SdrModel has no way to access the imported OOXML storage, so add a
really ugly hack to get the embedded media into the SdrMediaObj by
setting both MediaURL and PrivateStream properties (currently oox really
wants to set the properties in alphabetical order too...)
Change-Id: I5a235fbeb08e7bc17faf066de52b94867e9a79a2
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdomedia.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svx/svdomedia.hxx b/include/svx/svdomedia.hxx index b8c4c672927e..224f11742cdc 100644 --- a/include/svx/svdomedia.hxx +++ b/include/svx/svdomedia.hxx @@ -72,6 +72,7 @@ public: getSnapshot(); ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream> GetInputStream(); + void SetInputStream(css::uno::Reference<css::io::XInputStream> const&); protected: |