Apache OpenOffice (AOO) Bugzilla – Issue 119711
[From Symphony]exit animation changed after save as ppt file to another ppt
Last modified: 2012-10-02 09:57:07 UTC
Created attachment 77922 [details] sample file with exit animation build: AOO3.4 r1327774 steps: 1)open sample ppt file 2)press F5 to play screen show 2)save as to another ppt file 3)play saved ppt file and compare it with step2 defect: exit with direction animation became exit disappear. have no problem when saving ppt file to odp
I'm checking this defect.
root cause: When saving the "Delay" value, the AnimationExporter::exportAnimEvent function use an uninitalized value eTiming. at line 1381 in file "\main\sd\source\filter\eppt\pptexanimations.cxx",the "if ( eTiming == Timing_INDEFINITE )" is always false, and the nBegin value never is assigned by fTiming. so the "Delay" value always is zero. solution: according in "\main\offapi\com\sun\star\animationstiming.idl", describe the indefinite of Timing: enum Timing { /** specifies that a duration, end or start time is indefinite*/ INDEFINITE, /** specifies a simple duration as the intrinsic media duration. This is only valid for elements that define media. */ MEDIA }; only and if only the eTiming is Timing_INDEFINITE, the animation has a fTiming, so the judgment "if ( eTiming == Timing_INDEFINITE )" is unnecessary.
Created attachment 79327 [details] patch for export animation delay
Created attachment 79330 [details] UT file
*** Issue 120696 has been marked as a duplicate of this issue. ***
Reviewed and tested. OK. Remove the unnecessary judgement.
"sunying" committed SVN revision 1382623 into trunk: #119711# support the delay var when export ppt file by AOOReported by: Wang L...
has been fixed
can't reproduce on trunk r1384699
Set Target Milestone to AOO 3.5.0 for PM purpose.