diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-27 13:24:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-28 14:56:46 +0200 |
commit | 9ba8b37db55d210b915170528fd87df196ab29e7 (patch) | |
tree | ae12802b319d7a7dea3f2f357c752b2c7e03c798 /include/unotools | |
parent | 7ce1674658bef5bc4da7984c396b77ec09e3670f (diff) |
use utl::TempFile directly in package
so we can
(a) control the lifetime of the temp file properly
and
(b) we don't need to use file URLs which means we stay on the
efficient path on Windows
Change-Id: I2b1eed5f5afc8f89f53bde35ebb44e9922889817
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136557
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/streamwrap.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unotools/streamwrap.hxx b/include/unotools/streamwrap.hxx index dc4c51807189..429bbe91c36c 100644 --- a/include/unotools/streamwrap.hxx +++ b/include/unotools/streamwrap.hxx @@ -164,6 +164,7 @@ class UNOTOOLS_DLLPUBLIC OStreamWrapper final public: OStreamWrapper(SvStream& _rStream); OStreamWrapper(std::unique_ptr<SvStream> _rStream); + OStreamWrapper(SvStream* _pStream, bool _bOwner = false); // css::io::XStream virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getInputStream( ) override; |