Apache OpenOffice (AOO) Bugzilla – Issue 83857
API: sch.ChXDiagram::com::sun::star::drawing::XShape::setSize()
Last modified: 2013-02-24 21:07:58 UTC
The UNO-API-Test fails while testing get/setSize. To reproduce this behavior just start your office with parameter "-accept=socket,host=0,port=8100;urp;" and call inside a solar shell: checkapi -o sch.ChXDiagram::com::sun::star::drawing::XShape
getSize() is ok. setSize also works, but there might be a limitation in enlarging the chart. ->CN: Examining the test, I have the impression that the Size struct is interpreted in the wrong order. Size is Width first, and then Height. In the _XShape test you set the new size to: newWidth = oldHeight + 10, new Height = oldWidth + 10. That's probably not intended. If setting the diagram to oldSize + (10,10) does not work, try oldSize - (10,10). This should work.
cn: ok, changing the order does the trick. But: Why the test do not fail on other implementations?
cn: logging for set/getPosition should be enhanced btw
new target DevTools
change owner
reassign
Testing again within CWS chart47 on dev300m76 I cannot reproduce the problem anymore. ->remove this issue from the known issue list.
@lla, please verify in CWS chart47 that issue i83857 is removed from the known issue list chart2/qa/unoapi/knwonissues.xlc thus interface sch.ChXDiagram::com::sun::star::drawing::XShape is tested again and that the api test runs without error in module chart2. Thanks!
verified, found well done information in log.
close