Lines Matching refs:pElementIter
346 for ( SotElementList_Impl::iterator pElementIter = m_aChildrenList.begin(); in ~OStorage_Impl() local
347 pElementIter != m_aChildrenList.end(); pElementIter++ ) in ~OStorage_Impl()
348 delete *pElementIter; in ~OStorage_Impl()
724 for ( SotElementList_Impl::iterator pElementIter = m_aChildrenList.begin(); in CopyToStorage() local
725 pElementIter != m_aChildrenList.end(); pElementIter++ ) in CopyToStorage()
727 if ( !(*pElementIter)->m_bIsRemoved ) in CopyToStorage()
728 CopyStorageElement( *pElementIter, xDest, (*pElementIter)->m_aName, bDirect ); in CopyToStorage()
1112 SotElementList_Impl::iterator pElementIter = m_aChildrenList.begin(); in Commit() local
1113 while ( pElementIter != m_aChildrenList.end() ) in Commit()
1118 if ( (*pElementIter)->m_bIsRemoved ) in Commit()
1120 if ( m_nStorageType == embed::StorageFormats::OFOPXML && !(*pElementIter)->m_bIsStorage ) in Commit()
1121 RemoveStreamRelInfo( (*pElementIter)->m_aOriginalName ); in Commit()
1125 xNewPackageFolder->removeByName( (*pElementIter)->m_aOriginalName ); in Commit()
1127 SotElement_Impl* pToDelete = *pElementIter; in Commit()
1129 pElementIter++; // to let the iterator be valid it should be increased before removing in Commit()
1135 pElementIter++; in Commit()
1139 …for ( pElementIter = m_aChildrenList.begin(); pElementIter != m_aChildrenList.end(); pElementIter+… in Commit()
1144 if ( !(*pElementIter)->m_bIsInserted ) in Commit()
1151 if ( !(*pElementIter)->m_bIsStorage && (*pElementIter)->m_pStream in Commit()
1152 && !(*pElementIter)->m_pStream->IsTransacted() ) in Commit()
1153 (*pElementIter)->m_pStream->Commit(); in Commit()
1157 …if ( (*pElementIter)->m_bIsStorage && (*pElementIter)->m_pStorage && (*pElementIter)->m_pStorage->… in Commit()
1164 xNewPackageFolder->removeByName( (*pElementIter)->m_aOriginalName ); in Commit()
1166 …(*pElementIter)->m_pStorage->InsertIntoPackageFolder( (*pElementIter)->m_aName, xNewPackageFolder … in Commit()
1168 …else if ( !(*pElementIter)->m_bIsStorage && (*pElementIter)->m_pStream && (*pElementIter)->m_pStre… in Commit()
1171 CommitStreamRelInfo( *pElementIter ); in Commit()
1175 xNewPackageFolder->removeByName( (*pElementIter)->m_aOriginalName ); in Commit()
1177 …(*pElementIter)->m_pStream->InsertIntoPackageFolder( (*pElementIter)->m_aName, xNewPackageFolder ); in Commit()
1184 uno::Any aPackageElement = m_xPackageFolder->getByName( (*pElementIter)->m_aOriginalName ); in Commit()
1185 xNewPackageFolder->insertByName( (*pElementIter)->m_aName, aPackageElement ); in Commit()
1187 else if ( (*pElementIter)->m_aName.compareTo( (*pElementIter)->m_aOriginalName ) ) in Commit()
1192 uno::Any aPackageElement = xNewPackageFolder->getByName( (*pElementIter)->m_aOriginalName ); in Commit()
1193 xNewPackageFolder->removeByName( (*pElementIter)->m_aOriginalName ); in Commit()
1194 xNewPackageFolder->insertByName( (*pElementIter)->m_aName, aPackageElement ); in Commit()
1196 if ( m_nStorageType == embed::StorageFormats::OFOPXML && !(*pElementIter)->m_bIsStorage ) in Commit()
1198 if ( !(*pElementIter)->m_pStream ) in Commit()
1200 OpenSubStream( *pElementIter ); in Commit()
1201 if ( !(*pElementIter)->m_pStream ) in Commit()
1205 CommitStreamRelInfo( *pElementIter ); in Commit()
1209 (*pElementIter)->m_aOriginalName = (*pElementIter)->m_aName; in Commit()
1213 …for ( pElementIter = m_aChildrenList.begin(); pElementIter != m_aChildrenList.end(); pElementIter+… in Commit()
1216 if ( (*pElementIter)->m_bIsInserted ) in Commit()
1218 (*pElementIter)->m_aOriginalName = (*pElementIter)->m_aName; in Commit()
1221 if ( (*pElementIter)->m_bIsStorage ) in Commit()
1223 if ( (*pElementIter)->m_pStorage->m_bCommited ) in Commit()
1225 OSL_ENSURE( (*pElementIter)->m_pStorage, "An inserted storage is incomplete!\n" ); in Commit()
1226 if ( !(*pElementIter)->m_pStorage ) in Commit()
1229 …(*pElementIter)->m_pStorage->InsertIntoPackageFolder( (*pElementIter)->m_aName, xNewPackageFolder … in Commit()
1231 (*pElementIter)->m_bIsInserted = sal_False; in Commit()
1236 OSL_ENSURE( (*pElementIter)->m_pStream, "An inserted stream is incomplete!\n" ); in Commit()
1237 if ( !(*pElementIter)->m_pStream ) in Commit()
1240 if ( !(*pElementIter)->m_pStream->IsTransacted() ) in Commit()
1241 (*pElementIter)->m_pStream->Commit(); in Commit()
1243 if ( (*pElementIter)->m_pStream->m_bFlushed ) in Commit()
1246 CommitStreamRelInfo( *pElementIter ); in Commit()
1248 …(*pElementIter)->m_pStream->InsertIntoPackageFolder( (*pElementIter)->m_aName, xNewPackageFolder ); in Commit()
1250 (*pElementIter)->m_bIsInserted = sal_False; in Commit()
1319 SotElementList_Impl::iterator pElementIter = m_aChildrenList.begin(); in Revert() local
1320 while ( pElementIter != m_aChildrenList.end() ) in Revert()
1322 if ( (*pElementIter)->m_bIsInserted ) in Revert()
1324 SotElement_Impl* pToDelete = *pElementIter; in Revert()
1326 pElementIter++; // to let the iterator be valid it should be increased before removing in Revert()
1333 ClearElement( *pElementIter ); in Revert()
1335 (*pElementIter)->m_aName = (*pElementIter)->m_aOriginalName; in Revert()
1336 (*pElementIter)->m_bIsRemoved = sal_False; in Revert()
1338 pElementIter++; in Revert()
1404 for ( SotElementList_Impl::iterator pElementIter = m_aChildrenList.begin(); in FindElement() local
1405 pElementIter != m_aChildrenList.end(); pElementIter++ ) in FindElement()
1407 if ( (*pElementIter)->m_aName == rName && !(*pElementIter)->m_bIsRemoved ) in FindElement()
1408 return *pElementIter; in FindElement()
1540 for ( SotElementList_Impl::iterator pElementIter = m_aChildrenList.begin(); in InsertElement() local
1541 pElementIter != m_aChildrenList.end(); pElementIter++ ) in InsertElement()
1543 if ( (*pElementIter)->m_aName == aName ) in InsertElement()
1545 …OSL_ENSURE( (*pElementIter)->m_bIsRemoved, "Try to insert an element instead of existing one!\n" ); in InsertElement()
1546 if ( (*pElementIter)->m_bIsRemoved ) in InsertElement()
1548 …OSL_ENSURE( !(*pElementIter)->m_bIsInserted, "Inserted elements must be deleted immediatelly!\n" ); in InsertElement()
1549 pDeletedElm = *pElementIter; in InsertElement()
1635 for ( SotElementList_Impl::iterator pElementIter = m_aChildrenList.begin(); in GetElementNames() local
1636 pElementIter != m_aChildrenList.end(); pElementIter++ ) in GetElementNames()
1638 if ( !(*pElementIter)->m_bIsRemoved ) in GetElementNames()
1639 aElementNames[nInd++] = (*pElementIter)->m_aName; in GetElementNames()
2669 … for ( SotElementList_Impl::iterator pElementIter = pElement->m_pStorage->m_aChildrenList.begin(); in openStorageElement() local
2670 pElementIter != pElement->m_pStorage->m_aChildrenList.end(); ) in openStorageElement()
2672 SotElement_Impl* pElementToDel = (*pElementIter); in openStorageElement()
2673 pElementIter++; in openStorageElement()
4190 for ( SotElementList_Impl::iterator pElementIter = m_pImpl->m_aChildrenList.begin(); in revert() local
4191 pElementIter != m_pImpl->m_aChildrenList.end(); pElementIter++ ) in revert()
4193 if ( ((*pElementIter)->m_pStorage in revert()
4194 …&& ( (*pElementIter)->m_pStorage->m_pAntiImpl || !(*pElementIter)->m_pStorage->m_aReadOnlyWrapList… in revert()
4195 || ((*pElementIter)->m_pStream in revert()
4196 …&& ( (*pElementIter)->m_pStream->m_pAntiImpl || !(*pElementIter)->m_pStream->m_aInputStreamsList.e… in revert()