]> git.lyx.org Git - features.git/commitdiff
Fix gcc warnings. Vincent, is it correct ploader is unused?
authorPavel Sanda <sanda@lyx.org>
Sun, 28 Mar 2010 20:14:44 +0000 (20:14 +0000)
committerPavel Sanda <sanda@lyx.org>
Sun, 28 Mar 2010 20:14:44 +0000 (20:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33896 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetPreview.cpp
src/insets/InsetPreview.h

index 8b44b98aa802aafd72ce1cd1059153566044f22b..ad3ed6a9c6fe10c7c53adb22c9cfe66ccc9fc955 100644 (file)
@@ -60,7 +60,7 @@ void InsetPreview::write(ostream & os) const
 \r
 \r
 void InsetPreview::addPreview(DocIterator const & inset_pos,\r
-       graphics::PreviewLoader & ploader) const\r
+       graphics::PreviewLoader &) const\r
 {\r
        preparePreview(inset_pos);\r
 }\r
index 3886d247ade2768564f50891b9c5adfba73e7ac2..8a0332b1ec6012653bb5183d6b5daa733492c82d 100644 (file)
@@ -46,7 +46,7 @@ public:
        \r
        bool descendable(BufferView const & /*bv*/) const { return true; }\r
 \r
-       docstring contextMenu(BufferView const & bv, int x, int y) const\r
+       docstring contextMenu(BufferView const &, int, int) const\r
                { return from_ascii("context-preview"); }\r
 \r
        void metrics(MetricsInfo & mi, Dimension & dim) const;\r