Hi automated QA, in CWS automation006 we get a new method to retrieve the names of OLE objects. This comes with massive cleanups within the graphics module and some other .inc files.
Reason: CWS sb107 changed the behavior of the listbox (menu: Insert->Object->OLE...) so we can no longer rely on fixed positions of the entries. On the win-side we get better performance for the listboxes throughout the application and do no longer have to maintain reference lists. The change: We now retrieve the localized OLE object names via API. The functions are removed from the global/.../required files and found a new home below global/tools/includes/optional/t_ole.inc which can be included on an as-needed basis. The details: In many .bas files (esp. within the graphics module) we had unnecessary calls to GetDefaultOleNames(), a function that stores the localized OLE names into global variables (gOLEWriter,...Math etc.). Before the refactoring those names were maintained in lists below global/input/olenames. Those files have been removed. As a minor drawback we do no longer handle the "Further objects" entry in the list (only available on Windows, the item listed all registered OLE servers), but this can be handled by the script developer with minor effort if needed. This change is not effective before *DEV300m50* (the CWS is currently in testing and m49 is closed for CWS integration). If you have questions regarding this change (which really should not affect anyone unless new tests are written) do not hesitate to ask. Best regards, Joerg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
