384 // the file could not be opened. Circumstances may be different now. |
384 // the file could not be opened. Circumstances may be different now. |
385 if (obj->getType() == OBJ_Gibberish) |
385 if (obj->getType() == OBJ_Gibberish) |
386 obj->replace (parseLine (static_cast<LDGibberish*> (obj)->zContents)); |
386 obj->replace (parseLine (static_cast<LDGibberish*> (obj)->zContents)); |
387 } |
387 } |
388 } |
388 } |
|
389 |
|
390 // ============================================================================= |
|
391 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
|
392 // ============================================================================= |
|
393 void OpenFile::addObject (LDObject* obj) { |
|
394 const ulong ulSpot = g_qWindow->getInsertionPoint (); |
|
395 objects.insert (objects.begin() + ulSpot, obj); |
|
396 } |