6204 |
*/ |
*/ |
6205 |
void Group::MoveAll() { |
void Group::MoveAll() { |
6206 |
// get "that" other group first |
// get "that" other group first |
6207 |
|
size_t i = 0; |
6208 |
Group* pOtherGroup = NULL; |
Group* pOtherGroup = NULL; |
6209 |
for (pOtherGroup = pFile->GetFirstGroup(); pOtherGroup; pOtherGroup = pFile->GetNextGroup()) { |
for (pOtherGroup = pFile->GetGroup(i); pOtherGroup; |
6210 |
|
pOtherGroup = pFile->GetGroup(++i)) |
6211 |
|
{ |
6212 |
if (pOtherGroup != this) break; |
if (pOtherGroup != this) break; |
6213 |
} |
} |
6214 |
if (!pOtherGroup) throw Exception( |
if (!pOtherGroup) throw Exception( |