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/reflwrit.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/reflwrit.cxx')
-rw-r--r-- | registry/source/reflwrit.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/registry/source/reflwrit.cxx b/registry/source/reflwrit.cxx index c729029b6e3b..fd57ebc2047a 100644 --- a/registry/source/reflwrit.cxx +++ b/registry/source/reflwrit.cxx @@ -1282,14 +1282,14 @@ sal_Bool TYPEREG_CALLTYPE typereg_writer_setSuperTypeName( static TypeWriterImpl TYPEREG_CALLTYPE createEntry( RTTypeClass typeClass, rtl_uString const * typeName, rtl_uString const * superTypeName, - sal_uInt16 fieldCount, sal_uInt16 methodCount, sal_uInt16 referenceCount) + sal_uInt16 fieldCount) { OUString empty; sal_uInt16 superTypeCount = rtl_uString_getLength(superTypeName) == 0 ? 0 : 1; TypeWriterImpl t = typereg_writer_create( TYPEREG_VERSION_0, empty.pData, empty.pData, typeClass, false, typeName, - superTypeCount, fieldCount, methodCount, referenceCount); + superTypeCount, fieldCount, 0/*methodCount*/, 0/*referenceCount*/); if (superTypeCount > 0) { typereg_writer_setSuperTypeName(t, 0, superTypeName); } @@ -1307,9 +1307,7 @@ RegistryTypeWriter::RegistryTypeWriter(RTTypeClass RTTypeClass, m_hImpl = createEntry(RTTypeClass, typeName.pData, superTypeName.pData, - fieldCount, - 0, - 0); + fieldCount); } RegistryTypeWriter::~RegistryTypeWriter() |