From 1516e79855a6a32f3eb538c8290794a67576d43a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Sat, 15 Nov 2008 12:44:11 +0000 Subject: [PATCH] cosmetics git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27440 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathSpecialChar.cpp | 2 +- src/mathed/InsetMathSpecialChar.h | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/mathed/InsetMathSpecialChar.cpp b/src/mathed/InsetMathSpecialChar.cpp index 926dde6e69..2c600d0c2b 100644 --- a/src/mathed/InsetMathSpecialChar.cpp +++ b/src/mathed/InsetMathSpecialChar.cpp @@ -29,7 +29,7 @@ namespace lyx { -InsetMathSpecialChar::InsetMathSpecialChar(docstring name) +InsetMathSpecialChar::InsetMathSpecialChar(docstring const & name) : name_(name), kerning_(0) { if (name.size() != 1) { diff --git a/src/mathed/InsetMathSpecialChar.h b/src/mathed/InsetMathSpecialChar.h index 7e2e8083f8..fde2e95b28 100644 --- a/src/mathed/InsetMathSpecialChar.h +++ b/src/mathed/InsetMathSpecialChar.h @@ -17,10 +17,11 @@ namespace lyx { /// The special character inset. -class InsetMathSpecialChar : public InsetMath { +class InsetMathSpecialChar : public InsetMath +{ public: /// - explicit InsetMathSpecialChar(docstring name); + explicit InsetMathSpecialChar(docstring const & name); /// void setBuffer(Buffer &) {} /// @@ -66,4 +67,4 @@ private: } // namespace lyx -#endif +#endif // MATH_SPECIALCHARINSET_H