summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-23 16:35:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-27 09:54:37 +0200
commit0f87f895380833084b64145c686f0ba5993737ca (patch)
tree2c6948b33006a19310c5e5f9ae2e5cd59013ea29 /sc/inc
parent2c4d84e93901571ead79c85aa3894ef4e10bf5af (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.hxx3
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;