317 { |
317 { |
318 Critical (format ("Couldn't open temporary file %1 for reading.\n", fname)); |
318 Critical (format ("Couldn't open temporary file %1 for reading.\n", fname)); |
319 return; |
319 return; |
320 } |
320 } |
321 |
321 |
322 LDObjectList objs = LoadFileContents (&f, null); |
322 LDObjectList objs = LoadFileContents (&f, nullptr); |
323 |
323 |
324 // If we replace the objects, delete the selection now. |
324 // If we replace the objects, delete the selection now. |
325 if (replace) |
325 if (replace) |
326 g_win->deleteSelection(); |
326 g_win->deleteSelection(); |
327 |
327 |