diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/VSDXContentCollector.cpp | 4 | ||||
-rw-r--r-- | src/lib/VSDXGeometryList.h | 2 | ||||
-rw-r--r-- | src/lib/VSDXStencils.h | 2 | ||||
-rw-r--r-- | src/lib/VSDXStylesCollector.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/VSDXContentCollector.cpp b/src/lib/VSDXContentCollector.cpp index 8f40c45..50c2a5a 100644 --- a/src/lib/VSDXContentCollector.cpp +++ b/src/lib/VSDXContentCollector.cpp @@ -1125,12 +1125,12 @@ void libvisio::VSDXContentCollector::collectCharFormat(unsigned /*id*/ , unsigne m_shapeOutput->addEndTextObject(); } -void libvisio::VSDXContentCollector::collectStyleSheet(unsigned id, unsigned level, unsigned parentLineStyle, unsigned parentFillStyle, unsigned parentTextStyle) +void libvisio::VSDXContentCollector::collectStyleSheet(unsigned /* id */, unsigned level, unsigned /* parentLineStyle */, unsigned /* parentFillStyle */, unsigned /* parentTextStyle */) { _handleLevelChange(level); } -void libvisio::VSDXContentCollector::collectLineStyle(unsigned /* id */, unsigned level, double strokeWidth, Colour c, unsigned linePattern, unsigned lineCap) +void libvisio::VSDXContentCollector::collectLineStyle(unsigned /* id */, unsigned level, double /* strokeWidth */, Colour /* c */, unsigned /* linePattern */, unsigned /* lineCap */) { _handleLevelChange(level); } diff --git a/src/lib/VSDXGeometryList.h b/src/lib/VSDXGeometryList.h index 49dce48..4aa9080 100644 --- a/src/lib/VSDXGeometryList.h +++ b/src/lib/VSDXGeometryList.h @@ -53,7 +53,7 @@ public: bool empty() const { return (!m_elements.size()); } VSDXGeometryListElement * getElement(unsigned index); std::vector<unsigned> getElementsOrder() const { return m_elementsOrder; } - const unsigned count() const { return m_elements.size(); } + unsigned count() const { return m_elements.size(); } private: std::map<unsigned, VSDXGeometryListElement *> m_elements; std::vector<unsigned> m_elementsOrder; diff --git a/src/lib/VSDXStencils.h b/src/lib/VSDXStencils.h index e16b824..29c46ff 100644 --- a/src/lib/VSDXStencils.h +++ b/src/lib/VSDXStencils.h @@ -68,7 +68,7 @@ class VSDXStencils ~VSDXStencils(); void addStencil(unsigned idx, const VSDXStencil &stencil); const VSDXStencil *getStencil(unsigned idx) const; - const unsigned count() const { return m_stencils.size(); } + unsigned count() const { return m_stencils.size(); } private: std::map<unsigned, VSDXStencil> m_stencils; }; diff --git a/src/lib/VSDXStylesCollector.cpp b/src/lib/VSDXStylesCollector.cpp index d752d6f..8a2a923 100644 --- a/src/lib/VSDXStylesCollector.cpp +++ b/src/lib/VSDXStylesCollector.cpp @@ -167,7 +167,7 @@ void libvisio::VSDXStylesCollector::collectPageProps(unsigned /* id */, unsigned _handleLevelChange(level); } -void libvisio::VSDXStylesCollector::collectShape(unsigned id, unsigned level, unsigned /*masterPage*/, unsigned /*masterShape*/, unsigned lineStyle, unsigned fillStyle, unsigned textStyle) +void libvisio::VSDXStylesCollector::collectShape(unsigned id, unsigned level, unsigned /*masterPage*/, unsigned /*masterShape*/, unsigned /* lineStyle */, unsigned /* fillStyle */, unsigned /* textStyle */) { _handleLevelChange(level); m_currentShapeId = id; |