[Libreoffice-bugs] [Bug 143615] Impress: Crash when slide transition = 0sec
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 3 12:13:01 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=143615
Julien Nabet <serval2412 at yahoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|serval2412 at yahoo.fr |
--- Comment #9 from Julien Nabet <serval2412 at yahoo.fr> ---
I tried this:
diff --git
a/slideshow/source/engine/activities/simplecontinuousactivitybase.cxx
b/slideshow/source/engine/activities/simplecontinuousactivitybase.cxx
index 9e23fc2c76c8..a90f93994f76 100644
--- a/slideshow/source/engine/activities/simplecontinuousactivitybase.cxx
+++ b/slideshow/source/engine/activities/simplecontinuousactivitybase.cxx
@@ -46,7 +46,7 @@ namespace slideshow::internal
double SimpleContinuousActivityBase::calcTimeLag() const
{
ActivityBase::calcTimeLag();
- if (! isActive())
+ if (! isActive() || !mnMinSimpleDuration)
return 0.0;
// retrieve locally elapsed time
@@ -107,7 +107,7 @@ namespace slideshow::internal
bool SimpleContinuousActivityBase::perform()
{
// call base class, for start() calls and end handling
- if( !ActivityBase::perform() )
+ if( !ActivityBase::perform() || !mnMinSimpleDuration )
return false; // done, we're ended
Setting 0 first time was ok then I increased to 1 then decreased again to 0, it
hanged.
It seems more complicated than I thought.
uncc myself, I can't help here.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210803/5dce0e93/attachment.htm>
More information about the Libreoffice-bugs
mailing list