summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wizards/com/sun/star/wizards/document/TimeStampControl.java17
1 files changed, 1 insertions, 16 deletions
diff --git a/wizards/com/sun/star/wizards/document/TimeStampControl.java b/wizards/com/sun/star/wizards/document/TimeStampControl.java
index 42b8b5351d89..0fced1d3b595 100644
--- a/wizards/com/sun/star/wizards/document/TimeStampControl.java
+++ b/wizards/com/sun/star/wizards/document/TimeStampControl.java
@@ -40,7 +40,6 @@ public class TimeStampControl extends DatabaseControl
private double nreldatewidth;
private double nreltimewidth;
private int nDBWidth;
- private XShape xShapeGroup;
public TimeStampControl(Resource _oResource, FormHandler _oFormHandler, XNameContainer _xFormName, String _curFieldName, Point _aPoint)
{
@@ -57,7 +56,7 @@ public class TimeStampControl extends DatabaseControl
nDBWidth = nDateWidth + nTimeWidth + 10;
xShapes.add(oDateControl.xShape);
xShapes.add(oTimeControl.xShape);
- xShapeGroup = _oFormHandler.xShapeGrouper.group(xShapes);
+ xShape = _oFormHandler.xShapeGrouper.group(xShapes);
nreldatewidth = 1.0 / ((double) getSize().Width / (double) nDateWidth);
nreltimewidth = 1.0 - nreldatewidth;
}
@@ -122,20 +121,6 @@ public class TimeStampControl extends DatabaseControl
return new Size(ncontrolwidth, oDateControl.xShape.getSize().Height);
}
- public Point getPosition()
- {
- return xShapeGroup.getPosition();
- }
-
- public void setPosition(Point _aPoint)
- {
- // --> TESTING
- Point aBeforePt = xShapeGroup.getPosition();
- xShapeGroup.setPosition(_aPoint);
- // --> TESTING
- Point aAfterPt = xShapeGroup.getPosition();
- }
-
public int getControlType()
{
return FormHandler.SODATETIMECONTROL;