diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2014-12-19 23:09:35 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2014-12-19 23:35:12 +0100 |
commit | c976789b1bebecdbe58b7b05a33a5a1f6c2a2c0c (patch) | |
tree | dd2577b413fe3031c5d962bcbc7cec36bd10103a /wizards | |
parent | 14cef6e547b9cbcfc4a6db90e453194d0e73eaf3 (diff) |
GroupShape takes care of scaling the subshapes
Change-Id: I1e913287229119276fa97f73cb249ed0a0b2c473
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/document/TimeStampControl.java | 21 |
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; |