summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-12-19 23:09:35 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2014-12-19 23:35:12 +0100
commitc976789b1bebecdbe58b7b05a33a5a1f6c2a2c0c (patch)
treedd2577b413fe3031c5d962bcbc7cec36bd10103a
parent14cef6e547b9cbcfc4a6db90e453194d0e73eaf3 (diff)
GroupShape takes care of scaling the subshapes
Change-Id: I1e913287229119276fa97f73cb249ed0a0b2c473
-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;