summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/bastypes.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-23 09:51:38 +0200
committerNoel Grandin <noel@peralex.com>2015-12-23 09:51:38 +0200
commit472388fda8afc28d7b9f61056f45a741abfb732e (patch)
treeb4074515ff3a188ab9b28189bb6ee9804f929507 /basctl/source/basicide/bastypes.cxx
parent70d14d2ccdc17266f76775e2171df12fefbbf13c (diff)
loplugin:unusedfields in basctl
Change-Id: I565bd86167c93ece1d65ce8a3b148144f5a7107a
Diffstat (limited to 'basctl/source/basicide/bastypes.cxx')
-rw-r--r--basctl/source/basicide/bastypes.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx
index 4d0da3c271cd..32175e2e632f 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, rCurrentName, eCurrentType)));
+ m_aMap.insert(Map::value_type(aKey, Item(rCurrentName, eCurrentType)));
}
void LibInfos::RemoveInfoFor (ScriptDocument const& rDocument)
@@ -771,11 +771,9 @@ size_t LibInfos::Key::Hash::operator () (Key const& rKey) const
}
LibInfos::Item::Item (
- ScriptDocument const& rDocument,
OUString const& rCurrentName,
ItemType eCurrentType
) :
- m_aDocument(rDocument),
m_aCurrentName(rCurrentName),
m_eCurrentType(eCurrentType)
{ }