[EMAIL PROTECTED] writes:
| Author: younes
| Date: Thu Mar 15 12:47:02 2007
| New Revision: 17445
|
| URL: http://www.lyx.org/trac/changeset/17445
| Log:
| Add const access to caption type.
|
| Modified:
| lyx-devel/trunk/src/insets/insetcaption.h
|
| Modified: lyx-devel/trunk/src/insets/insetcaption.h
| URL:
http://www.lyx.org/trac/file/lyx-devel/trunk/src/insets/insetcaption.h?rev=17445
| ==============================================================================
| --- lyx-devel/trunk/src/insets/insetcaption.h (original)
| +++ lyx-devel/trunk/src/insets/insetcaption.h Thu Mar 15 12:47:02 2007
| @@ -71,6 +71,8 @@
| ///
| void setCount(int c) { counter_ = c; }
| ///
| + std::string const & type() const { return type_; }
| + ///
| void setType(std::string const & type) { type_ = type; }
(I feel like I have commented on something similar before, have I?)
I'd prefere either
getType and setType
or (my pref)
type() and type(t)
not a mixture of the two.
(No need to act on this.)
--
Lgb