| 82 | { |
| 83 | EltID idSf2(elementSf2); |
| 84 | foreach (int i, _sm->getSiblings(idSf2)) |
| 85 | { |
| 86 | if (_sm->getQstr(EltID(elementSf2, i), champ_filenameInitial) == _fileName) |
| 87 | { |
| 88 | _isSuccess = false; |
| 89 | _error = tr("This file is already open."); |
| 90 | return; |
| 91 | } |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | // Parse the file |