tdf#151456: AnimatedImages in Basic Dialog : StepTime is ignored

2 problems here
1) Regression on test of "pThrobber" since 51e97b2ffd
toolkit: first cut at switching to VclPtr.

2) as the author of the bug "Jurassik Pork" indicated,
"mnStepTime" wasn't used after having been used in ctr of Throbber
Thank you to him for the suggestion!

Change-Id: I0d1a53738035c3e822ea84d5972363dd9d0b5d8d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160771
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Julien Nabet
2023-12-14 22:58:52 +01:00
parent f3af199874
commit fdc87dd565
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ namespace toolkit
SolarMutexGuard aGuard;
VclPtr<Throbber> pThrobber = GetAsDynamic<Throbber>();
if ( pThrobber )
if ( !pThrobber )
{
VCLXWindow::setProperty( i_propertyName, i_value );
return;
+1
View File
@@ -152,6 +152,7 @@ void Throbber::initImages()
void Throbber::start()
{
maWaitTimer.SetTimeout(mnStepTime);
maWaitTimer.Start();
}