diff options
-rw-r--r-- | toolkit/source/awt/animatedimagespeer.cxx | 2 | ||||
-rw-r--r-- | vcl/source/control/throbber.cxx | 1 |
2 files changed, 2 insertions, 1 deletions
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<Throbber> pThrobber = GetAsDynamic<Throbber>(); - 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(); } |