mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
* non-const coercion for math braces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21325 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5a7a53e346
commit
1315e5f026
@ -112,6 +112,7 @@ public:
|
||||
virtual InsetMathAMSArray const * asAMSArrayInset() const { return 0; }
|
||||
virtual InsetMathArray * asArrayInset() { return 0; }
|
||||
virtual InsetMathArray const * asArrayInset() const { return 0; }
|
||||
virtual InsetMathBrace * asBraceInset() { return 0; }
|
||||
virtual InsetMathBrace const * asBraceInset() const { return 0; }
|
||||
virtual InsetMathChar const * asCharInset() const { return 0; }
|
||||
virtual InsetMathDelim * asDelimInset() { return 0; }
|
||||
|
@ -25,7 +25,9 @@ public:
|
||||
InsetMathBrace();
|
||||
///
|
||||
InsetMathBrace(MathData const & ar);
|
||||
///
|
||||
/// identifies brace insets
|
||||
InsetMathBrace * asBraceInset() { return this; }
|
||||
/// identifies brace insets
|
||||
InsetMathBrace const * asBraceInset() const { return this; }
|
||||
/// we write extra braces in any case...
|
||||
bool extraBraces() const { return true; }
|
||||
|
Loading…
Reference in New Issue
Block a user