virtual bool allowedIn(mode_type mode) const { return mode == MATH_MODE; }
/// superscript kerning
- virtual int kerning(BufferView const * bv) const { return 0; }
+ virtual int kerning(BufferView const *) const { return 0; }
};
///
///
void drawT(TextPainter &, int x, int y) const;
///
- int kerning(BufferView const * bv) const { return kerning_; }
+ int kerning(BufferView const *) const { return kerning_; }
///
void write(WriteStream & os) const;
}
-void InsetMathFrac::drawT(TextPainter & pain, int x, int y) const
+void InsetMathFrac::drawT(TextPainter & /*pain*/, int /*x*/, int /*y*/) const
{
// FIXME: BROKEN!
/*
}
-void InsetMathGrid::drawT(TextPainter & pain, int x, int y) const
+void InsetMathGrid::drawT(TextPainter & /*pain*/, int /*x*/, int /*y*/) const
{
// for (idx_type idx = 0; idx < nargs(); ++idx)
// cell(idx).drawT(pain, x + cellXOffset(idx), y + cellYOffset(idx));
///
void draw(PainterInfo &, int x, int y) const;
///
- int kerning(BufferView const * bv) const { return kerning_; }
+ int kerning(BufferView const *) const { return kerning_; }
///
bool isRelOp() const;
///
bool final() const;
///
- int kerning(BufferView const * bv) const { return kerning_; }
+ int kerning(BufferView const *) const { return kerning_; }
private:
virtual Inset * clone() const;
///
/// additional super/subscript shift
int sshift() const { return sshift_; }
/// superscript kerning
- int kerning(BufferView const * bv) const { return kerning_; }
+ int kerning(BufferView const *) const { return kerning_; }
///
void swap(MathData & ar) { base_type::swap(ar); }
}
-void MathMacroTemplate::write(WriteStream & os, bool overwriteRedefinition) const
+void MathMacroTemplate::write(WriteStream & os, bool /*overwriteRedefinition*/) const
{
// newcommand or renewcommand
if (os.latex() && optionals_ > 1)