mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
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:
parent
b34683e78a
commit
741f527784
@ -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>
|
2002-03-12 André Pönitz <poenitz@gmx.net>
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ MathInset * MathBigInset::clone() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int MathBigInset::size() const
|
MathBigInset::size_type MathBigInset::size() const
|
||||||
{
|
{
|
||||||
return name_.size() - 4;
|
return name_.size() - 4;
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
///
|
///
|
||||||
int size() const;
|
size_type size() const;
|
||||||
///
|
///
|
||||||
double increase() const;
|
double increase() const;
|
||||||
|
|
||||||
|
@ -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;
|
ascent_ = 1;
|
||||||
descent_ = 0;
|
descent_ = 0;
|
||||||
|
@ -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";
|
lyxerr << "MathInset::metrics(Text) called directly!\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user