Commit c6bf5e89 authored by Jan Hambrecht's avatar Jan Hambrecht

fix compilation with msvc

svn path=/trunk/koffice/; revision=1062348
parent f0d53d26
...@@ -79,16 +79,13 @@ void DivineProportionShape::draw(QPainter &painter) ...@@ -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 // 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 return false; // TODO
} }
......
...@@ -161,9 +161,8 @@ bool MusicShape::loadOdf( const KoXmlElement & element, KoShapeLoadingContext &c ...@@ -161,9 +161,8 @@ bool MusicShape::loadOdf( const KoXmlElement & element, KoShapeLoadingContext &c
return loadOdfFrame(element, context); 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"); KoXmlElement score = KoXml::namedItemNS(element, "http://www.koffice.org/music", "score-partwise");
if (score.isNull()) { if (score.isNull()) {
kWarning() << "no music:score-partwise element as first child"; kWarning() << "no music:score-partwise element as first child";
......
...@@ -53,16 +53,14 @@ void AbstractMusicAction::mouseMove(MusicCore::Staff*, int, const QPointF&) ...@@ -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(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(event);
Q_UNUSED(cursor);
} }
#include "AbstractMusicAction.moc" #include "AbstractMusicAction.moc"
...@@ -61,9 +61,8 @@ void InfoVariable::saveOdf(KoShapeSavingContext & context) ...@@ -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()); const QString localName(element.localName());
if (localName == "title") { if (localName == "title") {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment