]> git.lyx.org Git - lyx.git/blob - src/errorlist.C
Fix the missing "Figure #:" label from the caption of a figure float.
[lyx.git] / src / errorlist.C
1 /**
2  * \file errorlist.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Alfredo Braunstein
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "errorlist.h"
14
15 using lyx::pos_type;
16 using std::string;
17
18
19 ErrorItem::ErrorItem(string const & error_, string const & description_,
20                      int par_id_, pos_type pos_start_, pos_type pos_end_)
21         : error(error_), description(description_), par_id(par_id_),
22           pos_start(pos_start_),  pos_end(pos_end_)
23 {}
24
25
26 ErrorItem::ErrorItem()
27         : par_id(-1), pos_start(0), pos_end(0)
28 {}