diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-04 14:13:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-05 06:42:40 +0000 |
commit | ff339c89b51ed571d55c762e43aa1a6ee9ada1cb (patch) | |
tree | 5ed1c9a8353037745ce49e5a97e696157a0dcbca /basctl/source | |
parent | 3d6c84f2d9683b23c14fa5bf50ca4425cf4ceb04 (diff) |
loplugin:constantparam part2
Change-Id: I7ec4c946be52a6b56aee908426f95ecacc7b0746
Reviewed-on: https://gerrit.libreoffice.org/36072
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/basicide/bastype2.cxx | 5 | ||||
-rw-r--r-- | basctl/source/inc/bastype2.hxx | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/basctl/source/basicide/bastype2.cxx b/basctl/source/basicide/bastype2.cxx index 9b3455969329..5280399b1a0e 100644 --- a/basctl/source/basicide/bastype2.cxx +++ b/basctl/source/basicide/bastype2.cxx @@ -103,10 +103,9 @@ DocumentEntry::~DocumentEntry() LibEntry::LibEntry ( ScriptDocument const& rDocument, LibraryLocation eLocation, - OUString const& rLibName, - EntryType eType + OUString const& rLibName ) : - DocumentEntry(rDocument, eLocation, eType), + DocumentEntry(rDocument, eLocation, OBJ_TYPE_LIBRARY), m_aLibName(rLibName) { } diff --git a/basctl/source/inc/bastype2.hxx b/basctl/source/inc/bastype2.hxx index a64801835fcc..23c777da6105 100644 --- a/basctl/source/inc/bastype2.hxx +++ b/basctl/source/inc/bastype2.hxx @@ -107,8 +107,7 @@ public: LibEntry ( ScriptDocument const& rDocument, LibraryLocation eLocation, - OUString const& rLibName, - EntryType eType = OBJ_TYPE_LIBRARY + OUString const& rLibName ); virtual ~LibEntry () override; |