Fix warnings and svn eol properties.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23220 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-25 08:54:51 +00:00
parent 0655e4d78f
commit f658224e5c
3 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ public:
void insert(docstring const & w); void insert(docstring const & w);
private: private:
class Impl; struct Impl;
Impl * d; Impl * d;
}; };

View File

@ -827,13 +827,13 @@ void RowPainter::paintInlineCompletion(Font const & font)
if (s1.size() > 0) { if (s1.size() > 0) {
f.setColor(Color_inlinecompletion); f.setColor(Color_inlinecompletion);
pi_.pain.text(x_, yo_, s1, f); pi_.pain.text(int(x_), yo_, s1, f);
x_ += theFontMetrics(font).width(s1); x_ += theFontMetrics(font).width(s1);
} }
if (s2.size() > 0) { if (s2.size() > 0) {
f.setColor(Color_nonunique_inlinecompletion); f.setColor(Color_nonunique_inlinecompletion);
pi_.pain.text(x_, yo_, s2, f); pi_.pain.text(int(x_), yo_, s2, f);
x_ += theFontMetrics(font).width(s2); x_ += theFontMetrics(font).width(s2);
} }
} }