diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-23 16:35:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-27 09:54:37 +0200 |
commit | 0f87f895380833084b64145c686f0ba5993737ca (patch) | |
tree | 2c6948b33006a19310c5e5f9ae2e5cd59013ea29 /sc/inc | |
parent | 2c4d84e93901571ead79c85aa3894ef4e10bf5af (diff) |
loplugin:useuniqueptr in ScMultipleReadHeader
Change-Id: I517593a910ed5783f256722bad915be2232f290e
Reviewed-on: https://gerrit.libreoffice.org/51913
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/rechead.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/rechead.hxx b/sc/inc/rechead.hxx index 950620276fae..c6839e750b80 100644 --- a/sc/inc/rechead.hxx +++ b/sc/inc/rechead.hxx @@ -53,7 +53,8 @@ private: SvStream& rStream; std::unique_ptr<sal_uInt8[]> pBuf; - SvMemoryStream* pMemStream; + std::unique_ptr<SvMemoryStream> + pMemStream; sal_uLong nEndPos; sal_uLong nEntryEnd; sal_uLong nTotalEnd; |