summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2013-10-27 20:18:05 +0000
committerKris <Kris.De.Gussem@hotmail.com>2013-10-27 20:18:05 +0000
commit9e6a3cc4552a1f4728e267057b3c86a11a656770 (patch)
tree68dec39f8dc351c9a0915f76620966c650d2c196 /src/sp-item.cpp
parent"fix" some "unused parameter" warnings (diff)
downloadinkscape-9e6a3cc4552a1f4728e267057b3c86a11a656770.tar.gz
inkscape-9e6a3cc4552a1f4728e267057b3c86a11a656770.zip
"fix" some "unused parameter" warnings
(bzr r12737)
Diffstat (limited to 'src/sp-item.cpp')
-rw-r--r--src/sp-item.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index d32fbdef6..55ff60aeb 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -562,7 +562,7 @@ void SPItem::mask_ref_changed(SPObject *old_mask, SPObject *mask, SPItem *item)
}
}
-void SPItem::update(SPCtx *ctx, guint flags) {
+void SPItem::update(SPCtx* /*ctx*/, guint flags) {
SPItem *item = this;
SPItem* object = item;
@@ -688,7 +688,7 @@ Inkscape::XML::Node* SPItem::write(Inkscape::XML::Document *xml_doc, Inkscape::X
}
// CPPIFY: make pure virtual
-Geom::OptRect SPItem::bbox(Geom::Affine const &transform, SPItem::BBoxType type) const {
+Geom::OptRect SPItem::bbox(Geom::Affine const & /*transform*/, SPItem::BBoxType /*type*/) const {
//throw;
return Geom::OptRect();
}
@@ -869,7 +869,7 @@ unsigned int SPItem::pos_in_parent() const {
}
// CPPIFY: make pure virtual, see below!
-void SPItem::snappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape::SnapPreferences const *snapprefs) const {
+void SPItem::snappoints(std::vector<Inkscape::SnapCandidatePoint> & /*p*/, Inkscape::SnapPreferences const */*snapprefs*/) const {
//throw;
}
/* This will only be called if the derived class doesn't override this.
@@ -919,7 +919,7 @@ void SPItem::getSnappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscap
}
// CPPIFY: make pure virtual
-void SPItem::print(SPPrintContext* ctx) {
+void SPItem::print(SPPrintContext* /*ctx*/) {
//throw;
}
@@ -1006,7 +1006,7 @@ unsigned SPItem::display_key_new(unsigned numkeys)
}
// CPPIFY: make pure virtual
-Inkscape::DrawingItem* SPItem::show(Inkscape::Drawing &drawing, unsigned int key, unsigned int flags) {
+Inkscape::DrawingItem* SPItem::show(Inkscape::Drawing& /*drawing*/, unsigned int /*key*/, unsigned int /*flags*/) {
//throw;
return 0;
}
@@ -1065,7 +1065,7 @@ Inkscape::DrawingItem *SPItem::invoke_show(Inkscape::Drawing &drawing, unsigned
}
// CPPIFY: make pure virtual
-void SPItem::hide(unsigned int key) {
+void SPItem::hide(unsigned int /*key*/) {
//throw;
}
@@ -1411,7 +1411,7 @@ void SPItem::doWriteTransform(Inkscape::XML::Node *repr, Geom::Affine const &tra
}
// CPPIFY: see below, do not make pure?
-gint SPItem::event(SPEvent* event) {
+gint SPItem::event(SPEvent* /*event*/) {
return FALSE;
}