cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27440 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2008-11-15 12:44:11 +00:00
parent 7ed4a76213
commit 1516e79855
2 changed files with 5 additions and 4 deletions

View File

@ -29,7 +29,7 @@
namespace lyx { namespace lyx {
InsetMathSpecialChar::InsetMathSpecialChar(docstring name) InsetMathSpecialChar::InsetMathSpecialChar(docstring const & name)
: name_(name), kerning_(0) : name_(name), kerning_(0)
{ {
if (name.size() != 1) { if (name.size() != 1) {

View File

@ -17,10 +17,11 @@
namespace lyx { namespace lyx {
/// The special character inset. /// The special character inset.
class InsetMathSpecialChar : public InsetMath { class InsetMathSpecialChar : public InsetMath
{
public: public:
/// ///
explicit InsetMathSpecialChar(docstring name); explicit InsetMathSpecialChar(docstring const & name);
/// ///
void setBuffer(Buffer &) {} void setBuffer(Buffer &) {}
/// ///
@ -66,4 +67,4 @@ private:
} // namespace lyx } // namespace lyx
#endif #endif // MATH_SPECIALCHARINSET_H