SVN commit 826550 by jaham: SVN_SILENT warnings-- M +1 -1 KoShape.cpp M +5 -0 tools/KoGuidesTool.cpp --- trunk/koffice/libs/flake/KoShape.cpp #826549:826550 @@ -846,6 +846,7 @@ QString KoShape::getStyleProperty( const char *property, const KoXmlElement & element, KoShapeLoadingContext & context ) { + Q_UNUSED(element); KoStyleStack &styleStack = context.odfLoadingContext().styleStack(); QString value; @@ -858,7 +859,6 @@ KoShapeBackground * KoShape::loadOdfFill( const KoXmlElement & element, KoShapeLoadingContext & context ) { - KoStyleStack &styleStack = context.odfLoadingContext().styleStack(); QString fill = getStyleProperty( "fill", element, context ); KoShapeBackground * bg = 0; if ( fill == "solid" || fill == "hatch" ) --- trunk/koffice/libs/flake/tools/KoGuidesTool.cpp #826549:826550 @@ -104,6 +104,8 @@ void KoGuidesTool::activate(bool temporary) { + Q_UNUSED(temporary); + if( d->mode != Private::None ) useCursor( d->orientation == Qt::Horizontal ? Qt::SizeVerCursor : Qt::SizeHorCursor, true ); else @@ -118,6 +120,7 @@ void KoGuidesTool::mousePressEvent( KoPointerEvent *event ) { + Q_UNUSED(event); } void KoGuidesTool::mouseMoveEvent( KoPointerEvent *event ) @@ -151,6 +154,8 @@ void KoGuidesTool::mouseReleaseEvent( KoPointerEvent *event ) { + Q_UNUSED(event); + KoGuidesData * guidesData = m_canvas->guidesData(); if( d->mode == Private::AddGuide && guidesData ) {