sb130: #i113096# previous change contained an error in configmgr::Components::removeExtensionXcuFile
This commit is contained in:
parent
0da24e6676
commit
d7fd47ed54
1 changed files with 2 additions and 0 deletions
|
@ -290,6 +290,7 @@ void Components::removeExtensionXcuFile(
|
|||
// item->additions records all additions of set members in textual order,
|
||||
// the latter check works well when iterating through item->additions in
|
||||
// reverse order.
|
||||
OSL_ASSERT(modifications != 0);
|
||||
rtl::Reference< Data::ExtensionXcu > item(
|
||||
data_.removeExtensionXcuAdditions(fileUri));
|
||||
if (item.is()) {
|
||||
|
@ -315,6 +316,7 @@ void Components::removeExtensionXcuFile(
|
|||
node->kind() == Node::KIND_SET);
|
||||
if (hasOnlyEmptySets(node)) {
|
||||
parent->getMembers().erase(i->back());
|
||||
addModification(*i);
|
||||
modifications->add(*i);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue