To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79087





------- Additional comments from [EMAIL PROTECTED] Mon Jul  9 14:57:11 +0000 
2007 -------
->CN: In ifc/chart/_Chart3DBarProperties.java please use a different
XPropertySet object to set the "Dim3D" property at the diagram. Currently, oObj
is used, which overwrites the XPropertySet of the ChXDataPoint test.

Patch:

Index: _Chart3DBarProperties.java
===================================================================
RCS file: /cvs/qa/qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java,v
retrieving revision 1.3
diff -c -r1.3 _Chart3DBarProperties.java
*** _Chart3DBarProperties.java  8 Sep 2005 23:08:23 -0000       1.3
--- _Chart3DBarProperties.java  9 Jul 2007 14:56:12 -0000
***************
*** 79,88 ****

          doc.setDiagram(bar);
          log.println("Change Diagram to 3D");
!         oObj = (XPropertySet)
              UnoRuntime.queryInterface( XPropertySet.class, doc.getDiagram() );
          try {
!             oObj.setPropertyValue("Dim3D", new Boolean(true));
          } catch(com.sun.star.lang.WrappedTargetException e) {
              log.println("Couldn't change Diagram to 3D");
              e.printStackTrace(log);
--- 79,88 ----

          doc.setDiagram(bar);
          log.println("Change Diagram to 3D");
!         XPropertySet oDiaProp = (XPropertySet)
              UnoRuntime.queryInterface( XPropertySet.class, doc.getDiagram() );
          try {
!             oDiaProp.setPropertyValue("Dim3D", new Boolean(true));
          } catch(com.sun.star.lang.WrappedTargetException e) {
              log.println("Couldn't change Diagram to 3D");
              e.printStackTrace(log);


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to