mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
fix writing of integers... duh...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3043 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2400b5b919
commit
5a3fc63bfe
@ -252,7 +252,6 @@ bool MathHullInset::numberedType() const
|
|||||||
|
|
||||||
void MathHullInset::validate(LaTeXFeatures & features) const
|
void MathHullInset::validate(LaTeXFeatures & features) const
|
||||||
{
|
{
|
||||||
|
|
||||||
if (ams())
|
if (ams())
|
||||||
features.require("amsstyle");
|
features.require("amsstyle");
|
||||||
|
|
||||||
|
@ -227,3 +227,17 @@ WriteStream & WriteStream::operator<<(char c)
|
|||||||
++line_;
|
++line_;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
WriteStream & WriteStream::operator<<(int i)
|
||||||
|
{
|
||||||
|
os << i;
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
WriteStream & WriteStream::operator<<(unsigned int i)
|
||||||
|
{
|
||||||
|
os << i;
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
@ -115,6 +115,10 @@ struct WriteStream {
|
|||||||
WriteStream & operator<<(char const *);
|
WriteStream & operator<<(char const *);
|
||||||
///
|
///
|
||||||
WriteStream & operator<<(char);
|
WriteStream & operator<<(char);
|
||||||
|
///
|
||||||
|
WriteStream & operator<<(int);
|
||||||
|
///
|
||||||
|
WriteStream & operator<<(unsigned int);
|
||||||
|
|
||||||
///
|
///
|
||||||
Buffer const * buffer;
|
Buffer const * buffer;
|
||||||
|
Loading…
Reference in New Issue
Block a user