mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
another case of superfluous braces on read-back
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3536 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e5fed66b3b
commit
746d3f3db6
@ -100,6 +100,13 @@ MathHullInset::MathHullInset(MathInsetTypes t)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
MathHullInset::MathHullInset(MathInsetTypes t, MathGridInset const & grid)
|
||||||
|
: MathGridInset(grid), objtype_(t), nonum_(1), label_(1)
|
||||||
|
{
|
||||||
|
setDefaults();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
MathHullInset::MathHullInset(MathInsetTypes t, col_type cols)
|
MathHullInset::MathHullInset(MathInsetTypes t, col_type cols)
|
||||||
: MathGridInset(cols, 1), objtype_(t), nonum_(1), label_(1)
|
: MathGridInset(cols, 1), objtype_(t), nonum_(1), label_(1)
|
||||||
{
|
{
|
||||||
|
@ -21,6 +21,8 @@ public:
|
|||||||
///
|
///
|
||||||
explicit MathHullInset(MathInsetTypes t);
|
explicit MathHullInset(MathInsetTypes t);
|
||||||
///
|
///
|
||||||
|
MathHullInset(MathInsetTypes t, MathGridInset const & grid);
|
||||||
|
///
|
||||||
MathHullInset(MathInsetTypes t, col_type cols);
|
MathHullInset(MathInsetTypes t, col_type cols);
|
||||||
///
|
///
|
||||||
MathInset * clone() const;
|
MathInset * clone() const;
|
||||||
|
@ -25,6 +25,9 @@ public:
|
|||||||
void metrics(MathMetricsInfo const & st) const;
|
void metrics(MathMetricsInfo const & st) const;
|
||||||
///
|
///
|
||||||
void draw(Painter &, int x, int y) const;
|
void draw(Painter &, int x, int y) const;
|
||||||
|
///
|
||||||
|
bool needsBraces() const { return false; }
|
||||||
|
|
||||||
///
|
///
|
||||||
void write(WriteStream & os) const;
|
void write(WriteStream & os) const;
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user