Kaydet (Commit) 7a115715 authored tarafından Caolán McNamara's avatar Caolán McNamara

crashtesting: cached deque::end invalidated

e.g. import of ooo101471-3.odf

Change-Id: Ie1d83077cf91f2291c74390c24b7f36808e32562
Reviewed-on: https://gerrit.libreoffice.org/59597Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst a48b5c8e
......@@ -804,8 +804,7 @@ void ScXMLChangeTrackingImportHelper::CreateChangeTrack(ScDocument* pTempDoc)
pTrack->SetActionMax(pTrack->GetLast()->GetActionNumber());
aItr = aActions.begin();
aEndItr = aActions.end();
while (aItr != aEndItr)
while (aItr != aActions.end())
{
SetDependencies(aItr->get());
......@@ -816,8 +815,7 @@ void ScXMLChangeTrackingImportHelper::CreateChangeTrack(ScDocument* pTempDoc)
}
aItr = aActions.begin();
aEndItr = aActions.end();
while (aItr != aEndItr)
while (aItr != aActions.end())
{
OSL_ENSURE((*aItr)->nActionType == SC_CAT_CONTENT, "wrong action type");
SetNewCell(static_cast<ScMyContentAction*>(aItr->get()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment