]> git.lyx.org Git - features.git/commitdiff
gcc spits out million warnings
authorPavel Sanda <sanda@lyx.org>
Sun, 24 Oct 2010 21:46:28 +0000 (21:46 +0000)
committerPavel Sanda <sanda@lyx.org>
Sun, 24 Oct 2010 21:46:28 +0000 (21:46 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35807 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/Inset.h
src/insets/InsetCommand.h
src/insets/InsetExternal.h
src/insets/InsetGraphics.h
src/insets/InsetVSpace.h

index d4a15940a376a635f1c10a1a3dfb19b973a89f1d..5438cbe2c5c9ed2c11fc7f71b53c91b0c0346f59 100644 (file)
@@ -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; }
index 8e6ab7afae4508cf6363bd4fed96e04223e357f9..259b055c8e04e1055d0dd3010ab0b341975fefb4 100644 (file)
@@ -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_; }
        ///
index 26890c217b606fdec5c65fda7e616a3e4c822348..19baa141c44fa90a18601eeb68b9da33248ea5b1 100644 (file)
@@ -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 &);
index ce02d14eb997faedab210e86f1d7514efe8beee3..d7bb31525e14682d6ef6e291726e78910b5f2e7c 100644 (file)
@@ -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:
        ///
index a4d6a9d3788c0dc3fcc08d859ee329bf8ed0be8d..4eb279dad2353f23cc31f75afe67f7376782b0ce 100644 (file)
@@ -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;