Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [Sidebar]Can't load line arrow type after setting arrow type | ||
---|---|---|---|
Product: | General | Reporter: | Li Feng Wang <phoenix.wanglf> |
Component: | ui | Assignee: | Armin Le Grand <Armin.Le.Grand> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | Normal | ||
Priority: | P3 | CC: | Armin.Le.Grand, issues |
Version: | 4.0.0-dev | ||
Target Milestone: | 4.0.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
Li Feng Wang
2013-04-16 06:43:52 UTC
After change line arrow in line tab of context menu, arrow style still not update. ALG: Indeed, thats the case. Grepping... ALG: Seems as if the slots SID_ATTR_LINE_START and SID_ATTR_LINE_END are mapped to the wrong StateMethods in SC and SW; in SC they currently use GetAttrFuncState while e.g. SID_ATTR_LINE_DASH (which works) uses GetDrawAttrState. Changing SID_ATTR_LINE_START and SID_ATTR_LINE_END to use GetDrawAttrState works. Same seems true for SW, taking a look. The slots exist for some time (no new slots for sidebar), but the GetState methods were not used in the UI before. "alg" committed SVN revision 1468963 into trunk: 122072 map SID_ATTR_LINE_START and SID_ATTR_LINE_END to the correct GetState ... ALG: Comitted change for SC, looking for SW... ALG: SW had the same error, corrected, checked, comitted. Done. "alg" committed SVN revision 1468973 into trunk: 122072 map SID_ATTR_LINE_START and SID_ATTR_LINE_END to the correct GetState ... |