From f658224e5c3b5f9ecdadb4bfb00d91cef41822c8 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 25 Feb 2008 08:54:51 +0000 Subject: [PATCH] Fix warnings and svn eol properties. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23220 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/WordList.cpp | 2 +- src/WordList.h | 2 +- src/rowpainter.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/WordList.cpp b/src/WordList.cpp index 1423f83c9d..c5fef21167 100644 --- a/src/WordList.cpp +++ b/src/WordList.cpp @@ -77,4 +77,4 @@ void WordList::insert(docstring const & w) } -} // namespace lyx \ No newline at end of file +} // namespace lyx diff --git a/src/WordList.h b/src/WordList.h index b802cf098f..263c4d40da 100644 --- a/src/WordList.h +++ b/src/WordList.h @@ -31,7 +31,7 @@ public: void insert(docstring const & w); private: - class Impl; + struct Impl; Impl * d; }; diff --git a/src/rowpainter.cpp b/src/rowpainter.cpp index e4e48d6c52..7c9ea8a022 100644 --- a/src/rowpainter.cpp +++ b/src/rowpainter.cpp @@ -827,13 +827,13 @@ void RowPainter::paintInlineCompletion(Font const & font) if (s1.size() > 0) { f.setColor(Color_inlinecompletion); - pi_.pain.text(x_, yo_, s1, f); + pi_.pain.text(int(x_), yo_, s1, f); x_ += theFontMetrics(font).width(s1); } if (s2.size() > 0) { 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); } }