diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-20 11:48:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-20 11:48:48 +0200 |
commit | ad278c2b3a83f2fb2896aa048820cab93fddba69 (patch) | |
tree | c3491b65bdd79f120e4db53299c5fb2477d2af72 /basctl/source/basicide/bastypes.cxx | |
parent | 6f5c6cf4902c3a4a49567e95ff26260632a8f4e9 (diff) |
loplugin:unusedfields in basctl
and improve the plugin to search for only WARN_UNUSED and fundamental
types
Change-Id: Ic06207758e28d44d64d76d8119fd76b5b098bb05
Diffstat (limited to 'basctl/source/basicide/bastypes.cxx')
-rw-r--r-- | basctl/source/basicide/bastypes.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx index 30f83fa6f2ee..4d0da3c271cd 100644 --- a/basctl/source/basicide/bastypes.cxx +++ b/basctl/source/basicide/bastypes.cxx @@ -732,7 +732,7 @@ void LibInfos::InsertInfo ( { Key aKey(rDocument, rLibName); m_aMap.erase(aKey); - m_aMap.insert(Map::value_type(aKey, Item(rDocument, rLibName, rCurrentName, eCurrentType))); + m_aMap.insert(Map::value_type(aKey, Item(rDocument, rCurrentName, eCurrentType))); } void LibInfos::RemoveInfoFor (ScriptDocument const& rDocument) @@ -772,12 +772,10 @@ size_t LibInfos::Key::Hash::operator () (Key const& rKey) const LibInfos::Item::Item ( ScriptDocument const& rDocument, - OUString const& rLibName, OUString const& rCurrentName, ItemType eCurrentType ) : m_aDocument(rDocument), - m_aLibName(rLibName), m_aCurrentName(rCurrentName), m_eCurrentType(eCurrentType) { } |