summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/document
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-12-19 23:19:36 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2014-12-19 23:35:13 +0100
commite59629b94e36aaa7b2bfb24e433c1c25cbd479b4 (patch)
treeb43a50d0af53d6d77f62cb2e1d6fa78aaa7954d6 /wizards/com/sun/star/wizards/document
parentc976789b1bebecdbe58b7b05a33a5a1f6c2a2c0c (diff)
Keep as xShapes the newly created GroupShape
That's what we should refer to later, not the temporary collection we made! Change-Id: Ie288222c6aefa0f50a0b0878ad83b78909ee56d1
Diffstat (limited to 'wizards/com/sun/star/wizards/document')
-rw-r--r--wizards/com/sun/star/wizards/document/TimeStampControl.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/wizards/com/sun/star/wizards/document/TimeStampControl.java b/wizards/com/sun/star/wizards/document/TimeStampControl.java
index c0194eea7c0f..0706e329fdd5 100644
--- a/wizards/com/sun/star/wizards/document/TimeStampControl.java
+++ b/wizards/com/sun/star/wizards/document/TimeStampControl.java
@@ -57,6 +57,7 @@ public class TimeStampControl extends DatabaseControl
xShapes.add(oDateControl.xShape);
xShapes.add(oTimeControl.xShape);
xShape = _oFormHandler.xShapeGrouper.group(xShapes);
+ xShapes = UnoRuntime.queryInterface(XShapes.class, xShape);
nreldatewidth = 1.0 / ((double) getSize().Width / (double) nDateWidth);
nreltimewidth = 1.0 - nreldatewidth;
}