diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-02-10 10:11:09 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-02-10 10:11:09 +0100 |
commit | 830703017d66b18bf155c2a1dfacfa6a8b10dd0a (patch) | |
tree | becd126efc0f72d08808594d4955f160f3101c9b | |
parent | a1c47172f7063ea78c46f5d104e22ecc3b6cf1cb (diff) |
Silence some warningslibcdr-0.0.2
-rw-r--r-- | src/lib/CDRCollector.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/CDRCollector.cpp b/src/lib/CDRCollector.cpp index 4829c11..3f0a76c 100644 --- a/src/lib/CDRCollector.cpp +++ b/src/lib/CDRCollector.cpp @@ -331,8 +331,6 @@ unsigned libcdr::CDRCollector::_getRGBColor(unsigned short colorModel, unsigned double saturation = (double)col2/255.0; double brightness = (double)col3/255.0; - while (hue < 0) - hue += 360; while (hue > 360) hue -= 360; @@ -366,8 +364,6 @@ unsigned libcdr::CDRCollector::_getRGBColor(unsigned short colorModel, unsigned double lightness = (double)col2/255.0; double saturation = (double)col3/255.0; - while (hue < 0) - hue += 360; while (hue > 360) hue -= 360; @@ -469,7 +465,7 @@ void libcdr::CDRCollector::_lineProperties(WPXPropertyList &propList) } } -void libcdr::CDRCollector::collectBitmap(unsigned imageId, unsigned short colorMode, unsigned short colorDepth, unsigned width, unsigned height, double scaleX, double scaleY) +void libcdr::CDRCollector::collectBitmap(unsigned imageId, unsigned short /* colorMode */, unsigned short /* colorDepth */, unsigned /* width */, unsigned /* height */, double /* scaleX */, double /* scaleY */) { std::map<unsigned, WPXBinaryData>::iterator iter = m_bmps.find(imageId); if (iter == m_bmps.end()) |