Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [From Symphony]Macro doesn't work if click "Undo" button | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | App Dev | Reporter: | Yan Ji <yanji.yj> | ||||||
Component: | vba | Assignee: | issues@vba <issues> | ||||||
Status: | CLOSED FIXED | QA Contact: | |||||||
Severity: | Normal | ||||||||
Priority: | P3 | CC: | bjdujing, debin.lei, issues, lijianyuan1983, liushenf | ||||||
Version: | 3.3.0 or older (OOo) | ||||||||
Target Milestone: | 4.0.0 | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Attachments: |
|
Description
Yan Ji
2012-09-18 02:10:02 UTC
I am checking the issue After more investigation, when the file(.xls) loading, function ConvertFrom will called, and some convert action will add to Undo manager. So user can see some undo action from the UI. The behavior is abnormal. The file after loading, should NOT have any undo action. For another objects, not form control, but drawing, graphic and so on, can reproduce the undo issue. So I figure out a simple solution, after convert finishing, call the GetUndoManager()->Clear() to clear the undo action. Please add the patch. Created attachment 79570 [details]
patch for the issue
Review and tested. OK. @jianyuan, thx your review. Now, the patch had been committed in Revision: 1389676 verified on the build AOO3.5_r1397404 Update Target Milestone to AOO 3.5.0. |