summaryrefslogtreecommitdiff
path: root/include/tools/stream.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 09:42:05 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 09:42:05 +0100
commitef22c4a0a99be5d2903fb9e9d09fc852cd791173 (patch)
treed8a73f8fb5bcbefabdbd21a652076d7ceaf5f134 /include/tools/stream.hxx
parent6267b56f2dfcbcf5a6b30698e3ead68ce1b724e7 (diff)
new[] vs. delete mismatch
...after e57a036939e27ecd173ace691689e26a6a33df8e "loplugin:useuniqueptr in tools,stoc,unotools" Change-Id: Ifb9a3a5f37895aa75edc7f4e90e8cfe47d79bca7
Diffstat (limited to 'include/tools/stream.hxx')
-rw-r--r--include/tools/stream.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx
index cb211ddba607..bcc22137174a 100644
--- a/include/tools/stream.hxx
+++ b/include/tools/stream.hxx
@@ -144,7 +144,7 @@ private:
sal_uInt64 m_nActPos;
// buffer management
- std::unique_ptr<sal_uInt8>
+ std::unique_ptr<sal_uInt8[]>
m_pRWBuf; ///< Points to read/write buffer
sal_uInt8* m_pBufPos; ///< m_pRWBuf + m_nBufActualPos
sal_uInt16 m_nBufSize; ///< Allocated size of buffer