diff --git a/plugins/divineProportion/DivineProportionShape.cpp b/plugins/divineProportion/DivineProportionShape.cpp index ea0a7f552a94a3f0a664eb8fa0372ae95e4afbb6..05c4a74aa8ef065983a36bd71306f071f9296df3 100644 --- a/plugins/divineProportion/DivineProportionShape.cpp +++ b/plugins/divineProportion/DivineProportionShape.cpp @@ -79,16 +79,13 @@ void DivineProportionShape::draw(QPainter &painter) } } -void DivineProportionShape::saveOdf(KoShapeSavingContext & context) const +void DivineProportionShape::saveOdf(KoShapeSavingContext & /*context*/) const { - Q_UNUSED(context); // TODO } -bool DivineProportionShape::loadOdf( const KoXmlElement & element, KoShapeLoadingContext &context ) +bool DivineProportionShape::loadOdf( const KoXmlElement & /*element*/, KoShapeLoadingContext & /*context*/ ) { - Q_UNUSED(element); - Q_UNUSED(context); return false; // TODO } diff --git a/plugins/musicshape/MusicShape.cpp b/plugins/musicshape/MusicShape.cpp index 08815647333147bdf117aa13fcc849d0aaf141bd..8768cb2aea1fa4ce8fc3fd683f12fd9aba858db2 100644 --- a/plugins/musicshape/MusicShape.cpp +++ b/plugins/musicshape/MusicShape.cpp @@ -161,9 +161,8 @@ bool MusicShape::loadOdf( const KoXmlElement & element, KoShapeLoadingContext &c return loadOdfFrame(element, context); } -bool MusicShape::loadOdfFrameElement( const KoXmlElement & element, KoShapeLoadingContext & context ) +bool MusicShape::loadOdfFrameElement( const KoXmlElement & element, KoShapeLoadingContext & /*context*/ ) { - Q_UNUSED(context); KoXmlElement score = KoXml::namedItemNS(element, "http://www.koffice.org/music", "score-partwise"); if (score.isNull()) { kWarning() << "no music:score-partwise element as first child"; diff --git a/plugins/musicshape/actions/AbstractMusicAction.cpp b/plugins/musicshape/actions/AbstractMusicAction.cpp index 1ffbb9cd576b51ca793138feaef6bd083ceb2a4c..d3afa489c8f5917eb5327a475e7e3b851d15aa6a 100644 --- a/plugins/musicshape/actions/AbstractMusicAction.cpp +++ b/plugins/musicshape/actions/AbstractMusicAction.cpp @@ -53,16 +53,14 @@ void AbstractMusicAction::mouseMove(MusicCore::Staff*, int, const QPointF&) { } -void AbstractMusicAction::renderKeyboardPreview(QPainter& painter, const MusicCursor& cursor) +void AbstractMusicAction::renderKeyboardPreview(QPainter& painter, const MusicCursor& /*cursor*/) { Q_UNUSED(painter); - Q_UNUSED(cursor); } -void AbstractMusicAction::keyPress(QKeyEvent* event, const MusicCursor& cursor) +void AbstractMusicAction::keyPress(QKeyEvent* event, const MusicCursor& /*cursor*/) { Q_UNUSED(event); - Q_UNUSED(cursor); } #include "AbstractMusicAction.moc" diff --git a/plugins/variables/InfoVariable.cpp b/plugins/variables/InfoVariable.cpp index e96935128e609cbb2a81430fd96784ccec424a50..2f8690e3ee1a06281266140984ecbd25985cbd07 100644 --- a/plugins/variables/InfoVariable.cpp +++ b/plugins/variables/InfoVariable.cpp @@ -61,9 +61,8 @@ void InfoVariable::saveOdf(KoShapeSavingContext & context) } } -bool InfoVariable::loadOdf(const KoXmlElement & element, KoShapeLoadingContext & context) +bool InfoVariable::loadOdf(const KoXmlElement & element, KoShapeLoadingContext & /*context*/) { - Q_UNUSED(context); const QString localName(element.localName()); if (localName == "title") {