if(f.isNull())
continue;
-
- bool FCHANGED = false;
for (actionqueue::iterator actit = requestedActions.begin(); actit != requestedActions.end(); ++actit) {
switch (actit->first) {
case ERASE:
action_eraseTag(f, actit->second);
- FCHANGED = true;
break;
case REPLACE:
action_replaceTag(f, splitToTagPair(actit->second));
- FCHANGED = true;
break;
case INSERT:
action_insertTag(f, splitToTagPair(actit->second));
- FCHANGED = true;
break;
}
}
-
- if (FCHANGED)
- f.file()->save();
}
return 0;