incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 119711] [From Symphony]exit animation changed after save as ppt file to another ppt
Date Fri, 24 Aug 2012 06:04:25 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=119711

--- Comment #2 from sunying <sunying@apache.org> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message