diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-03 13:48:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-07 08:30:53 +0200 |
commit | 7baed0c028df4b5215557e8410467277d068021b (patch) | |
tree | 8a822d25bcaa1ccb8d0d86abb3368f18953a9eb8 /connectivity/source/inc/file | |
parent | e2b72039c619b64235fc7cbf12ac40b6b968f984 (diff) |
loplugin:useuniqueptr in OFileTable
Change-Id: I74f21220b71703a18d1ae85f5f50397355304153
Reviewed-on: https://gerrit.libreoffice.org/53863
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/inc/file')
-rw-r--r-- | connectivity/source/inc/file/FTable.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/inc/file/FTable.hxx b/connectivity/source/inc/file/FTable.hxx index 3495c79c24c9..bd12eca69eee 100644 --- a/connectivity/source/inc/file/FTable.hxx +++ b/connectivity/source/inc/file/FTable.hxx @@ -42,7 +42,7 @@ namespace connectivity std::unique_ptr<SvStream> m_pFileStream; ::rtl::Reference<OSQLColumns> m_aColumns; sal_Int32 m_nFilePos; // current IResultSetHelper::Movement - sal_uInt8* m_pBuffer; + std::unique_ptr<sal_uInt8[]> m_pBuffer; sal_uInt16 m_nBufferSize; // size of the ReadBuffer, if pBuffer != NULL bool m_bWriteable; // svstream can't say if we are writeable // so we have to |