From 0590c77d47740f7fec55b309f86dfc4b5f0287fc Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Sun, 24 Oct 2010 21:46:28 +0000 Subject: [PATCH] gcc spits out million warnings git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35807 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/Inset.h | 2 +- src/insets/InsetCommand.h | 2 +- src/insets/InsetExternal.h | 2 +- src/insets/InsetGraphics.h | 2 +- src/insets/InsetVSpace.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/insets/Inset.h b/src/insets/Inset.h index d4a15940a3..5438cbe2c5 100644 --- a/src/insets/Inset.h +++ b/src/insets/Inset.h @@ -336,7 +336,7 @@ public: // true for InsetTabular & InsetText virtual bool isActive() const { return nargs() > 0; } /// can we click at the specified position ? - virtual bool clickable(int x, int y) const { return false; } + virtual bool clickable(int, int) const { return false; } /// does this contain text that can be change track marked in DVI? virtual bool canTrackChanges() const { return false; } diff --git a/src/insets/InsetCommand.h b/src/insets/InsetCommand.h index 8e6ab7afae..259b055c8e 100644 --- a/src/insets/InsetCommand.h +++ b/src/insets/InsetCommand.h @@ -99,7 +99,7 @@ private: /// InsetCode lyxCode() const { return NO_CODE; } /// - bool clickable(int x, int y) const { return hasSettings(); } + bool clickable(int, int) const { return hasSettings(); } /// RenderButton & button() const { return button_; } /// diff --git a/src/insets/InsetExternal.h b/src/insets/InsetExternal.h index 26890c217b..19baa141c4 100644 --- a/src/insets/InsetExternal.h +++ b/src/insets/InsetExternal.h @@ -116,7 +116,7 @@ public: /// bool setMouseHover(BufferView const * bv, bool mouse_hover); /// - bool clickable(int x, int y) const { return true; } + bool clickable(int, int) const { return true; } private: /// InsetExternal(InsetExternal const &); diff --git a/src/insets/InsetGraphics.h b/src/insets/InsetGraphics.h index ce02d14eb9..d7bb31525e 100644 --- a/src/insets/InsetGraphics.h +++ b/src/insets/InsetGraphics.h @@ -52,7 +52,7 @@ public: InsetGraphicsParams getParams() const { return params_;} /// - bool clickable(int x, int y) const { return true; } + bool clickable(int, int) const { return true; } private: /// diff --git a/src/insets/InsetVSpace.h b/src/insets/InsetVSpace.h index a4d6a9d378..4eb279dad2 100644 --- a/src/insets/InsetVSpace.h +++ b/src/insets/InsetVSpace.h @@ -38,7 +38,7 @@ public: /// static std::string params2string(VSpace const &); /// - bool clickable(int x, int y) const { return true; } + bool clickable(int, int) const { return true; } private: /// void metrics(MetricsInfo & mi, Dimension & dim) const;