summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/document/TimeStampControl.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/wizards/com/sun/star/wizards/document/TimeStampControl.java b/wizards/com/sun/star/wizards/document/TimeStampControl.java
index 0fced1d3b595..c0194eea7c0f 100644
--- a/wizards/com/sun/star/wizards/document/TimeStampControl.java
+++ b/wizards/com/sun/star/wizards/document/TimeStampControl.java
@@ -100,27 +100,6 @@ public class TimeStampControl extends DatabaseControl
return nDBWidth;
}
- public void setSize(Size _aSize)
- {
- try
- {
- int ndatewidth = (int) (nreldatewidth * _aSize.Width);
- int ntimewidth = (int) (nreltimewidth * _aSize.Width);
- oDateControl.xShape.setSize(new Size(ndatewidth, _aSize.Height));
- oTimeControl.xShape.setSize(new Size(ntimewidth, _aSize.Height));
- }
- catch (PropertyVetoException e)
- {
- e.printStackTrace(System.err);
- }
- }
-
- public Size getSize()
- {
- int ncontrolwidth = oDateControl.xShape.getSize().Width + oTimeControl.xShape.getSize().Width;
- return new Size(ncontrolwidth, oDateControl.xShape.getSize().Height);
- }
-
public int getControlType()
{
return FormHandler.SODATETIMECONTROL;