diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-12-23 19:32:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-12-27 20:33:05 +0100 |
commit | 2d348132ab307e866dc2be8282b6e16aac65d29d (patch) | |
tree | bc9e817b2ddbc3134cc418317894b1aaa090d43a /include/sot | |
parent | 2f269aae084a7366a6111185f86a5e852629dfa8 (diff) |
ofz#28918 Direct-Leak in SotStorage::OpenSotStream
Change-Id: I2d99a13822b07d98e03d7e7de91ca44ab4f8599d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108266
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/sot')
-rw-r--r-- | include/sot/storage.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx index 33d71d81a12e..65cde53d2a67 100644 --- a/include/sot/storage.hxx +++ b/include/sot/storage.hxx @@ -143,7 +143,7 @@ public: // create stream with connection to Storage, // more or less a Parent-Child relationship - SotStorageStream* OpenSotStream(const OUString & rEleName, + tools::SvRef<SotStorageStream> OpenSotStream(const OUString & rEleName, StreamMode = StreamMode::STD_READWRITE); SotStorage* OpenSotStorage(const OUString & rEleName, StreamMode = StreamMode::STD_READWRITE, |