Lines 1908-1918
void IUnknownWrapper_Impl::getFuncDesc(const OUString & sFuncName, FUNCDESC ** p
Link Here
|
1908 |
//get the associated index and add an entry to the map |
1991 |
//get the associated index and add an entry to the map |
1909 |
//with the name sFuncName which differs in the casing of the letters to |
1992 |
//with the name sFuncName which differs in the casing of the letters to |
1910 |
//the actual name as obtained from ITypeInfo |
1993 |
//the actual name as obtained from ITypeInfo |
1911 |
cit itOrg = m_mapComFunc.find(OUString(reinterpret_cast<const sal_Unicode*>(LPCOLESTR(memberName)))); |
1994 |
OUString sRealName(reinterpret_cast<const sal_Unicode*>(LPCOLESTR(memberName))); |
|
|
1995 |
cit itOrg = m_mapComFunc.find(sRealName); |
1912 |
OSL_ASSERT(itOrg != m_mapComFunc.end()); |
1996 |
OSL_ASSERT(itOrg != m_mapComFunc.end()); |
|
|
1997 |
// maybe this is a property, if so we need |
1998 |
// to store either both id's ( put/get ) or |
1999 |
// just the get. Storing both is more consistent |
2000 |
pair<cit, cit> pItems = m_mapComFunc.equal_range( sRealName ); |
2001 |
for ( ;pItems.first != pItems.second; ++pItems.first ) |
2002 |
m_mapComFunc.insert( TLBFuncIndexMap::value_type ( make_pair(sFuncName, pItems.first->second ) )); |
1913 |
itIndex = |
2003 |
itIndex = |
1914 |
m_mapComFunc.insert( TLBFuncIndexMap::value_type |
2004 |
m_mapComFunc.find( sFuncName ); |
1915 |
( make_pair(sFuncName, itOrg->second ) )); |
|
|
1916 |
} |
2005 |
} |
1917 |
} |
2006 |
} |
1918 |
} |
2007 |
} |