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;