summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/bastypes.cxx
diff options
context:
space:
mode:
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)
{ }