Some trivial fixes of warning messages.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3768 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-03-18 16:32:52 +00:00
parent b34683e78a
commit 741f527784
5 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
* math_biginset.[Ch] (size): return size_type, not int.
* math_inset.C (metrics): parameter "mi" is never referenced. Removed.
* math_hullinset.C (metrics): ditto.
2002-03-12 André Pönitz <poenitz@gmx.net>

View File

@ -22,7 +22,7 @@ MathInset * MathBigInset::clone() const
}
int MathBigInset::size() const
MathBigInset::size_type MathBigInset::size() const
{
return name_.size() - 4;
}

View File

@ -30,7 +30,7 @@ public:
private:
///
int size() const;
size_type size() const;
///
double increase() const;

View File

@ -199,7 +199,7 @@ void MathHullInset::draw(Painter & pain, int x, int y) const
}
void MathHullInset::metrics(TextMetricsInfo const & mi) const
void MathHullInset::metrics(TextMetricsInfo const &) const
{
ascent_ = 1;
descent_ = 0;

View File

@ -206,7 +206,7 @@ void MathInset::draw(Painter &, int, int) const
}
void MathInset::metrics(TextMetricsInfo const & mi) const
void MathInset::metrics(TextMetricsInfo const &) const
{
lyxerr << "MathInset::metrics(Text) called directly!\n";
}