diff --git a/sd/inc/CustomAnimationEffect.hxx b/sd/inc/CustomAnimationEffect.hxx index f6dbd1815821..a8dcbe5c1a42 100644 --- a/sd/inc/CustomAnimationEffect.hxx +++ b/sd/inc/CustomAnimationEffect.hxx @@ -151,7 +151,7 @@ public: SAL_DLLPRIVATE void setAudio( const css::uno::Reference< css::animations::XAudio >& xAudio ); SAL_DLLPRIVATE bool getStopAudio() const; void setStopAudio(); - void createAudio( const css::uno::Any& rSource, double fVolume = 1.0 ); + void createAudio( const css::uno::Any& rSource ); SAL_DLLPRIVATE void removeAudio(); SAL_DLLPRIVATE const css::uno::Reference< css::animations::XAudio >& getAudio() const { return mxAudio; } diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx index a3efd9fb8dd7..674f3117bd94 100644 --- a/sd/source/core/CustomAnimationEffect.cxx +++ b/sd/source/core/CustomAnimationEffect.cxx @@ -1477,7 +1477,7 @@ bool CustomAnimationEffect::setTransformationProperty( sal_Int32 nTransformType, return bChanged; } -void CustomAnimationEffect::createAudio( const css::uno::Any& rSource, double fVolume /* = 1.0 */ ) +void CustomAnimationEffect::createAudio( const css::uno::Any& rSource ) { DBG_ASSERT( !mxAudio.is(), "sd::CustomAnimationEffect::createAudio(), node already has an audio!" ); @@ -1486,7 +1486,7 @@ void CustomAnimationEffect::createAudio( const css::uno::Any& rSource, double fV Reference< XComponentContext > xContext( ::comphelper::getProcessComponentContext() ); Reference< XAudio > xAudio( Audio::create( xContext ) ); xAudio->setSource( rSource ); - xAudio->setVolume( fVolume ); + xAudio->setVolume( 1.0 ); setAudio( xAudio ); } catch( Exception& ) diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx index 9bbe92cc5071..06b2375ba827 100644 --- a/sd/source/filter/html/htmlex.cxx +++ b/sd/source/filter/html/htmlex.cxx @@ -2729,8 +2729,7 @@ OUString HtmlExport::CreateLink( const OUString& aLink, // creates a image tag OUString HtmlExport::CreateImage( const OUString& aImage, const OUString& aAltText, - sal_Int16 nWidth, - sal_Int16 nHeight ) + sal_Int16 nWidth ) { OUStringBuffer aStr( "