INTEGRATION: CWS insight02 (1.19.2); FILE MERGED
2004/08/11 12:17:22 oj 1.19.2.1: #i27015# fill container with dummies
This commit is contained in:
parent
1e23da5a7d
commit
57abe41e39
1 changed files with 12 additions and 10 deletions
|
@ -2,9 +2,9 @@
|
||||||
*
|
*
|
||||||
* $RCSfile: querycontainer.cxx,v $
|
* $RCSfile: querycontainer.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.19 $
|
* $Revision: 1.20 $
|
||||||
*
|
*
|
||||||
* last change: $Author: hr $ $Date: 2004-08-02 15:03:38 $
|
* last change: $Author: rt $ $Date: 2004-09-09 09:38:15 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
|
@ -145,14 +145,16 @@ OQueryContainer::OQueryContainer(
|
||||||
DBG_ASSERT(xContainer.is(), "OQueryContainer::OQueryContainer : the CommandDefinitions container is invalid !");
|
DBG_ASSERT(xContainer.is(), "OQueryContainer::OQueryContainer : the CommandDefinitions container is invalid !");
|
||||||
xContainer->addContainerListener(m_pCommandsListener);
|
xContainer->addContainerListener(m_pCommandsListener);
|
||||||
|
|
||||||
// // fill my structures with dummies
|
// fill my structures
|
||||||
// Sequence< ::rtl::OUString > sDefinitionNames = m_xCommandDefinitions->getElementNames();
|
ODefinitionContainer_Impl* pItem = static_cast<ODefinitionContainer_Impl*>(m_pImpl.get());
|
||||||
// const ::rtl::OUString* pIter = sDefinitionNames.getConstArray();
|
Sequence< ::rtl::OUString > sDefinitionNames = m_xCommandDefinitions->getElementNames();
|
||||||
// const ::rtl::OUString* pEnd = pIter + sDefinitionNames.getLength();
|
const ::rtl::OUString* pIter = sDefinitionNames.getConstArray();
|
||||||
// for (;pIter != pEnd; ++pIter)
|
const ::rtl::OUString* pEnd = pIter + sDefinitionNames.getLength();
|
||||||
// {
|
for (;pIter != pEnd; ++pIter)
|
||||||
// implAppend(*pIter,Reference< XContent >());
|
{
|
||||||
// }
|
pItem->m_aDocumentMap.insert(ODefinitionContainer_Impl::Documents::value_type(*pIter,TContentPtr()));
|
||||||
|
m_aDocuments.push_back(m_aDocumentMap.insert(Documents::value_type(*pIter,Documents::mapped_type())).first);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
decrement(m_refCount);
|
decrement(m_refCount);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue