gcc spits out million warnings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35807 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-10-24 21:46:28 +00:00
parent 4e5d3469f6
commit 0590c77d47
5 changed files with 5 additions and 5 deletions

View File

@ -336,7 +336,7 @@ public:
// true for InsetTabular & InsetText // true for InsetTabular & InsetText
virtual bool isActive() const { return nargs() > 0; } virtual bool isActive() const { return nargs() > 0; }
/// can we click at the specified position ? /// 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? /// does this contain text that can be change track marked in DVI?
virtual bool canTrackChanges() const { return false; } virtual bool canTrackChanges() const { return false; }

View File

@ -99,7 +99,7 @@ private:
/// ///
InsetCode lyxCode() const { return NO_CODE; } 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_; } RenderButton & button() const { return button_; }
/// ///

View File

@ -116,7 +116,7 @@ public:
/// ///
bool setMouseHover(BufferView const * bv, bool mouse_hover); 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: private:
/// ///
InsetExternal(InsetExternal const &); InsetExternal(InsetExternal const &);

View File

@ -52,7 +52,7 @@ public:
InsetGraphicsParams getParams() const { return params_;} InsetGraphicsParams getParams() const { return params_;}
/// ///
bool clickable(int x, int y) const { return true; } bool clickable(int, int) const { return true; }
private: private:
/// ///

View File

@ -38,7 +38,7 @@ public:
/// ///
static std::string params2string(VSpace const &); static std::string params2string(VSpace const &);
/// ///
bool clickable(int x, int y) const { return true; } bool clickable(int, int) const { return true; }
private: private:
/// ///
void metrics(MetricsInfo & mi, Dimension & dim) const; void metrics(MetricsInfo & mi, Dimension & dim) const;