diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-31 08:50:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-31 12:58:31 +0100 |
commit | 693d40fed862614e05fbad167f7f09005683d6da (patch) | |
tree | a908faedb0c82264de7051a30cfded2c9e6e3289 /registry/source/reflread.cxx | |
parent | c0cf07d3da5245e594f8f1ad11479e85bd15b88f (diff) |
loplugin:constantparam in oox,registry,reportdesign
Change-Id: I914fa6c6ef2f660eb6b8570c9c5f86cef477be80
Reviewed-on: https://gerrit.libreoffice.org/44093
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'registry/source/reflread.cxx')
-rw-r--r-- | registry/source/reflread.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx index 7065adea01cb..1a06dab771e3 100644 --- a/registry/source/reflread.cxx +++ b/registry/source/reflread.cxx @@ -1237,10 +1237,10 @@ bool TYPEREG_CALLTYPE typereg_reader_create( } } -static TypeReaderImpl TYPEREG_CALLTYPE createEntry(const sal_uInt8* buffer, sal_uInt32 len, bool copyBuffer) +static TypeReaderImpl TYPEREG_CALLTYPE createEntry(const sal_uInt8* buffer, sal_uInt32 len) { void * handle; - typereg_reader_create(buffer, len, copyBuffer, TYPEREG_VERSION_1, &handle); + typereg_reader_create(buffer, len, false/*copyBuffer*/, TYPEREG_VERSION_1, &handle); return handle; } @@ -1718,7 +1718,7 @@ RegistryTypeReader::RegistryTypeReader(const sal_uInt8* buffer, sal_uInt32 bufferLen) : m_hImpl(nullptr) { - m_hImpl = createEntry(buffer, bufferLen, false/*copyData*/); + m_hImpl = createEntry(buffer, bufferLen); } RegistryTypeReader::~RegistryTypeReader() |