Fix gcc warnings. Vincent, is it correct ploader is unused?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33896 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-03-28 20:14:44 +00:00
parent 71cd86c649
commit 6a1eb11563
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ void InsetPreview::write(ostream & os) const
void InsetPreview::addPreview(DocIterator const & inset_pos,
graphics::PreviewLoader & ploader) const
graphics::PreviewLoader &) const
{
preparePreview(inset_pos);
}

View File

@ -46,7 +46,7 @@ public:
bool descendable(BufferView const & /*bv*/) const { return true; }
docstring contextMenu(BufferView const & bv, int x, int y) const
docstring contextMenu(BufferView const &, int, int) const
{ return from_ascii("context-preview"); }
void metrics(MetricsInfo & mi, Dimension & dim) const;