summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-07-07 21:41:17 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-07-07 21:41:17 +0200
commit4d1ee85993511c4642db2e3278f269222eba6e13 (patch)
treeb939b75883bd2ac82eeb7f4b57d2b20db409c4a6
parent7f43f195f63e18536fa6998a422330c9ccd4c3c2 (diff)
Fix warningslibvisio-0.0.2
-rw-r--r--src/lib/VSDXContentCollector.cpp4
-rw-r--r--src/lib/VSDXStylesCollector.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/VSDXContentCollector.cpp b/src/lib/VSDXContentCollector.cpp
index 27f17b8..10789cc 100644
--- a/src/lib/VSDXContentCollector.cpp
+++ b/src/lib/VSDXContentCollector.cpp
@@ -568,7 +568,7 @@ void libvisio::VSDXContentCollector::collectArcTo(unsigned /* id */, unsigned le
#define VSD_NUM_POLYLINES_PER_NURBS 50
-void libvisio::VSDXContentCollector::collectNURBSTo(unsigned id, unsigned level, double x2, double y2, unsigned xType, unsigned yType, double degree, std::vector<std::pair<double, double> > controlPoints, std::vector<double> knotVector, std::vector<double> weights)
+void libvisio::VSDXContentCollector::collectNURBSTo(unsigned /* id */, unsigned level, double x2, double y2, unsigned xType, unsigned yType, double degree, std::vector<std::pair<double, double> > controlPoints, std::vector<double> knotVector, std::vector<double> weights)
{
_handleLevelChange(level);
@@ -644,7 +644,7 @@ double libvisio::VSDXContentCollector::_NURBSBasis(unsigned knot, double degree,
return basis;
}
-void libvisio::VSDXContentCollector::collectPolylineTo(unsigned id , unsigned level, double x, double y, unsigned xType, unsigned yType, std::vector<std::pair<double, double> > &points)
+void libvisio::VSDXContentCollector::collectPolylineTo(unsigned /* id */ , unsigned level, double x, double y, unsigned xType, unsigned yType, std::vector<std::pair<double, double> > &points)
{
_handleLevelChange(level);
diff --git a/src/lib/VSDXStylesCollector.cpp b/src/lib/VSDXStylesCollector.cpp
index de7b040..276d977 100644
--- a/src/lib/VSDXStylesCollector.cpp
+++ b/src/lib/VSDXStylesCollector.cpp
@@ -88,12 +88,12 @@ void libvisio::VSDXStylesCollector::collectArcTo(unsigned /* id */, unsigned lev
{
_handleLevelChange(level);
}
-void libvisio::VSDXStylesCollector::collectNURBSTo(unsigned id, unsigned level, double x2, double y2, unsigned xType, unsigned yType, double degree, std::vector<std::pair<double, double> > controlPoints, std::vector<double> knotVector, std::vector<double> weights)
+void libvisio::VSDXStylesCollector::collectNURBSTo(unsigned /* id */, unsigned level, double /* x2 */, double /* y2 */, unsigned /* xType */, unsigned /* yType */, double /* degree */, std::vector<std::pair<double, double> > /* controlPoints */, std::vector<double> /* knotVector */, std::vector<double> /* weights */)
{
_handleLevelChange(level);
}
-void libvisio::VSDXStylesCollector::collectPolylineTo(unsigned id , unsigned level, double x, double y, unsigned xType, unsigned yType, std::vector<std::pair<double, double> > &points)
+void libvisio::VSDXStylesCollector::collectPolylineTo(unsigned /* id */, unsigned level, double /* x */, double /* y */, unsigned /* xType */, unsigned /* yType */, std::vector<std::pair<double, double> > & /* points */)
{
_handleLevelChange(level);
}