summaryrefslogtreecommitdiff
path: root/include/sot
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-11 17:14:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-12 08:27:29 +0200
commitacde273ea8b105ed5cc7adec98110b822a1b4490 (patch)
tree69348313444bffb5f0d8003e9e97b6773a422e42 /include/sot
parent7140644302d97869c7ea8d636123755fe04e640b (diff)
return SvMemoryStream by std::unique_ptr
Change-Id: I60a41111e76d72a7384cbb15f2d2a73c95af8c2d Reviewed-on: https://gerrit.libreoffice.org/57280 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sot')
-rw-r--r--include/sot/storage.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx
index b8cbe947557a..83437604d164 100644
--- a/include/sot/storage.hxx
+++ b/include/sot/storage.hxx
@@ -85,7 +85,7 @@ public:
SotStorage( bool bUCBStorage, SvStream & rStm );
SotStorage( SvStream * pStm, bool bDelete );
- SvMemoryStream * CreateMemoryStream();
+ std::unique_ptr<SvMemoryStream> CreateMemoryStream();
static bool IsStorageFile( const OUString & rFileName );
static bool IsStorageFile( SvStream* pStream );