Georg Baum
2a64df96f9
Fix bug 2404
...
* src/lyx_cb.C
(newFile): Only set the new buffer if it is valid
* src/BufferView_pimpl.C
(BufferView::Pimpl::loadLyXFile): Test whether newFile succeeded
* src/lyxfunc.C
(LyXFunc::menuNew): Only set the new buffer if it is valid
(LyXFunc::open): ditto
* src/importer.C
(Importer::Import): ditto
* src/lyx_main.C
(LyX::exec2): Only use the new buffer if newFile succeeded
* src/buffer_funcs.C
(newFile): discard the buffer and return 0 if the template is invalid
* src/BufferView_pimpl.[Ch]
(BufferView::Pimpl::newFile): remove, not used anymore
* src/BufferView.C
(BufferView::newFile): remove, not used anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14623 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-12 12:31:19 +00:00
..
2006-07-06 14:26:07 +00:00
2006-08-08 21:17:08 +00:00
2006-08-08 21:17:08 +00:00
2006-07-12 14:16:10 +00:00
2006-08-11 21:40:24 +00:00
2006-08-08 10:29:43 +00:00
2006-08-08 13:12:07 +00:00
2005-05-02 13:35:30 +00:00
2005-05-02 13:35:30 +00:00
2003-10-06 15:43:21 +00:00
2003-10-06 15:43:21 +00:00
2005-11-02 20:11:36 +00:00
2005-04-26 10:30:24 +00:00
2004-10-05 10:11:42 +00:00
2003-09-09 18:27:24 +00:00
2005-01-19 15:03:31 +00:00
2005-01-18 14:15:57 +00:00
2005-11-02 11:27:08 +00:00
2006-08-12 12:31:19 +00:00
2005-06-09 09:58:08 +00:00
2006-08-10 13:25:27 +00:00
2006-05-19 07:46:20 +00:00
2006-03-29 08:22:20 +00:00
2006-01-01 20:28:05 +00:00
2006-03-24 11:59:09 +00:00
2006-06-07 17:06:00 +00:00
2006-01-28 09:46:58 +00:00
2005-07-15 15:49:40 +00:00
2006-08-12 12:31:19 +00:00
2006-08-12 12:31:19 +00:00
2006-08-12 12:31:19 +00:00
2006-08-12 12:31:19 +00:00
2004-10-05 10:11:42 +00:00
2003-10-06 15:43:21 +00:00
2006-08-11 22:10:23 +00:00
2005-04-26 11:12:20 +00:00
2006-03-24 16:38:30 +00:00
2005-01-27 21:05:44 +00:00
2003-10-06 15:43:21 +00:00
2005-01-27 21:05:44 +00:00
2003-10-06 15:43:21 +00:00
2006-08-08 21:17:08 +00:00
2005-01-14 19:13:17 +00:00
2005-07-18 12:13:32 +00:00
2005-07-18 12:13:32 +00:00
2006-01-19 15:49:21 +00:00
2005-09-09 14:52:55 +00:00
2005-07-18 11:00:15 +00:00
2005-07-18 11:00:15 +00:00
2006-05-22 10:12:09 +00:00
2006-03-20 17:47:33 +00:00
2006-08-08 22:13:36 +00:00
2006-05-22 10:12:09 +00:00
2006-04-06 12:06:37 +00:00
2006-04-06 12:06:37 +00:00
2003-10-13 01:01:33 +00:00
2005-01-19 15:03:31 +00:00
2005-05-31 14:40:30 +00:00
2004-03-18 12:53:43 +00:00
2006-01-28 09:46:58 +00:00
2006-01-28 09:46:58 +00:00
2006-05-02 13:44:19 +00:00
2003-10-06 15:43:21 +00:00
2004-03-25 09:16:36 +00:00
2005-01-19 15:03:31 +00:00
2006-04-26 11:44:26 +00:00
2005-01-19 15:03:31 +00:00
2005-09-26 09:20:15 +00:00
2004-01-26 10:13:15 +00:00
2003-10-06 15:43:21 +00:00
2004-10-05 10:11:42 +00:00
2003-10-06 15:43:21 +00:00
2004-11-16 20:41:38 +00:00
2005-07-18 12:13:32 +00:00
2005-04-11 13:35:15 +00:00
2006-05-26 08:33:01 +00:00
2006-05-17 22:37:24 +00:00
2005-07-16 17:27:16 +00:00
2004-11-26 14:52:54 +00:00
2004-11-25 09:15:26 +00:00
2005-04-21 13:03:45 +00:00
2005-07-17 11:58:54 +00:00
2003-10-08 11:31:51 +00:00
2006-02-03 21:47:25 +00:00
2005-01-19 15:03:31 +00:00
2006-08-12 12:31:19 +00:00
2003-10-07 06:45:25 +00:00
2004-03-31 19:11:56 +00:00
2004-03-31 19:11:56 +00:00
2005-01-19 15:03:31 +00:00
2005-01-19 15:03:31 +00:00
2006-05-31 10:32:26 +00:00
2003-10-06 15:43:21 +00:00
2005-09-08 09:20:16 +00:00
2005-01-20 16:17:37 +00:00
2006-01-18 17:44:01 +00:00
2004-10-05 10:11:42 +00:00
2004-08-05 15:14:29 +00:00
2003-10-06 15:43:21 +00:00
2006-05-02 13:44:19 +00:00
2005-07-16 15:55:36 +00:00
2005-01-31 10:42:26 +00:00
2004-10-05 10:11:42 +00:00
2006-08-08 13:56:21 +00:00
2005-01-19 15:03:31 +00:00
2006-05-29 17:28:02 +00:00
2006-04-26 11:44:26 +00:00
2003-09-12 17:13:22 +00:00
2005-06-17 14:35:19 +00:00
2005-06-17 14:35:19 +00:00
2004-11-11 12:32:53 +00:00
2004-04-05 14:05:03 +00:00
2006-04-28 16:29:45 +00:00
2006-08-12 12:31:19 +00:00
2005-07-16 10:35:43 +00:00
2006-08-12 12:31:19 +00:00
2006-06-09 13:07:04 +00:00
2004-10-05 10:11:42 +00:00
2004-04-26 11:05:19 +00:00
2006-04-28 16:29:45 +00:00
2005-10-07 12:00:41 +00:00
2006-03-24 16:38:30 +00:00
2004-01-15 17:34:44 +00:00
2006-02-27 12:22:36 +00:00
2005-07-16 18:25:58 +00:00
2006-08-12 12:31:19 +00:00
2004-11-25 09:15:26 +00:00
2004-07-24 10:55:30 +00:00
2003-10-06 15:43:21 +00:00
2005-05-12 10:16:04 +00:00
2005-05-12 10:16:04 +00:00
2004-12-29 15:38:48 +00:00
2005-11-03 10:49:32 +00:00
2006-04-28 16:35:50 +00:00
2006-04-28 16:35:50 +00:00
2005-01-27 21:05:44 +00:00
2005-01-27 21:05:44 +00:00
2006-06-27 10:54:14 +00:00
2006-06-27 10:54:14 +00:00
2004-02-13 13:51:12 +00:00
2004-02-13 13:51:12 +00:00
2004-11-30 01:59:49 +00:00
2005-04-26 11:12:20 +00:00
2005-05-02 13:35:30 +00:00
2005-01-20 15:07:36 +00:00
2005-06-09 09:04:33 +00:00
2004-10-05 10:11:42 +00:00
2006-03-24 17:37:15 +00:00
2006-03-24 11:59:09 +00:00
2006-03-24 11:59:09 +00:00
2005-01-19 15:03:31 +00:00
2004-11-16 20:41:38 +00:00
2004-02-25 12:00:53 +00:00
2003-11-03 17:47:28 +00:00
2005-01-31 10:42:26 +00:00
2006-03-28 09:16:38 +00:00
2006-02-03 21:47:25 +00:00
2006-01-01 20:28:05 +00:00
2006-01-28 20:13:10 +00:00
2004-10-19 09:11:02 +00:00
2005-09-07 10:37:05 +00:00
2005-09-07 10:37:05 +00:00
2005-04-26 10:30:24 +00:00
2006-08-08 21:17:08 +00:00
2006-03-24 17:37:15 +00:00
2006-03-24 17:37:15 +00:00
2006-03-24 17:37:15 +00:00
2006-03-24 17:37:15 +00:00
2006-03-24 17:37:15 +00:00
2006-03-24 17:37:15 +00:00
2006-03-24 17:37:15 +00:00
2005-07-15 19:10:25 +00:00
2003-11-05 12:06:20 +00:00
2003-11-05 15:29:49 +00:00
2006-01-09 21:00:24 +00:00
2006-01-09 21:00:24 +00:00
2005-12-12 11:13:03 +00:00
2006-03-24 17:37:15 +00:00
2006-03-24 17:37:15 +00:00
2006-05-25 11:47:33 +00:00
2006-04-13 16:49:24 +00:00
2006-04-26 11:44:26 +00:00
2006-04-13 16:49:24 +00:00
2006-03-24 17:37:15 +00:00
2006-03-24 17:37:15 +00:00
2005-01-06 16:52:08 +00:00
2004-03-25 09:16:36 +00:00
2005-07-18 11:00:15 +00:00
2006-03-24 17:37:15 +00:00
2005-04-26 10:30:24 +00:00
2003-10-06 15:43:21 +00:00
2005-01-19 15:03:31 +00:00
2005-05-02 13:35:30 +00:00
2005-05-02 13:35:30 +00:00
2005-12-30 19:02:52 +00:00
2006-06-21 12:39:09 +00:00
2006-07-07 13:42:03 +00:00
2005-01-18 14:15:57 +00:00
2003-10-06 15:43:21 +00:00
2005-01-18 14:15:57 +00:00
2004-11-02 11:25:20 +00:00
2005-01-27 21:05:44 +00:00
2005-01-27 21:05:44 +00:00
2005-05-02 13:35:30 +00:00
2005-09-08 09:20:16 +00:00
2006-03-29 10:16:23 +00:00
2006-03-29 10:16:23 +00:00
2005-01-07 13:32:26 +00:00
2005-07-17 11:17:13 +00:00
2005-07-17 11:17:13 +00:00
2003-09-08 00:33:41 +00:00
2006-03-24 17:37:15 +00:00
2006-08-11 21:40:24 +00:00
2006-06-07 17:06:00 +00:00
2003-11-03 17:47:28 +00:00
2003-10-07 06:45:25 +00:00
2005-10-25 13:43:50 +00:00
2005-07-27 15:22:08 +00:00
2004-11-08 10:54:29 +00:00
2004-04-21 00:19:27 +00:00
2005-01-19 15:03:31 +00:00
2005-07-14 13:05:03 +00:00
2003-11-03 17:47:28 +00:00
2003-10-06 15:43:21 +00:00
2003-10-06 15:43:21 +00:00
2006-03-24 17:37:15 +00:00
2006-03-24 17:37:15 +00:00
2003-10-06 15:43:21 +00:00
2005-04-26 11:12:20 +00:00
2003-10-06 15:43:21 +00:00
2006-07-13 08:10:53 +00:00
2005-05-24 10:23:30 +00:00
2006-01-01 20:28:05 +00:00
2003-10-07 08:16:04 +00:00