diff --git a/toolkit/source/awt/animatedimagespeer.cxx b/toolkit/source/awt/animatedimagespeer.cxx index ac2dca5603be..379a82388ba2 100644 --- a/toolkit/source/awt/animatedimagespeer.cxx +++ b/toolkit/source/awt/animatedimagespeer.cxx @@ -182,7 +182,7 @@ namespace toolkit SolarMutexGuard aGuard; VclPtr pThrobber = GetAsDynamic(); - if ( pThrobber ) + if ( !pThrobber ) { VCLXWindow::setProperty( i_propertyName, i_value ); return; diff --git a/vcl/source/control/throbber.cxx b/vcl/source/control/throbber.cxx index c44cbb12d7b2..075e40d2de9b 100644 --- a/vcl/source/control/throbber.cxx +++ b/vcl/source/control/throbber.cxx @@ -152,6 +152,7 @@ void Throbber::initImages() void Throbber::start() { + maWaitTimer.SetTimeout(mnStepTime); maWaitTimer.Start(); }