summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/util/DrawTools.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/util/DrawTools.java')
-rw-r--r--qadevOOo/runner/util/DrawTools.java29
1 files changed, 0 insertions, 29 deletions
diff --git a/qadevOOo/runner/util/DrawTools.java b/qadevOOo/runner/util/DrawTools.java
index 4facd805fd34..43c9e51a2411 100644
--- a/qadevOOo/runner/util/DrawTools.java
+++ b/qadevOOo/runner/util/DrawTools.java
@@ -28,13 +28,7 @@ import com.sun.star.drawing.XDrawPages;
import com.sun.star.drawing.XDrawPagesSupplier;
import com.sun.star.drawing.XDrawPage;
import com.sun.star.drawing.XShapes;
-import com.sun.star.drawing.XShape;
-
-
import util.DesktopTools;
-import util.InstCreator;
-import util.ShapeDsc;
-
import com.sun.star.uno.AnyConverter;
import com.sun.star.uno.Type;
@@ -107,27 +101,4 @@ public class DrawTools {
return UnoRuntime.queryInterface(XShapes.class,oDP);
}
- /**
- * creates a XShape
- *
- * @param oDoc the document
- * @param height the height of the shape
- * @param width the width of the shape
- * @param x the x-position of the shape
- * @param y the y-position of the shape
- * @param kind the kind of the shape ('Ellipse', 'Line' or 'Rectangle')
- * @return the created XShape
- */
-
- private XShape createShape( XComponent oDoc, int height, int width, int x,
- int y, String kind ) {
- //possible values for kind are 'Ellipse', 'Line' and 'Rectangle'
-
- ShapeDsc sDsc = new ShapeDsc( height, width, x, y, kind );
- InstCreator instCreate = new InstCreator( oDoc, sDsc );
- XShape oShape = (XShape)instCreate.getInstance();
-
- return oShape;
- }
-
}