summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-12-19 15:24:30 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2014-12-19 23:33:25 +0100
commitc47795a6f950f6cc1657819a3411c5828d649771 (patch)
tree58c561a4888e7c1434449d2f8e4b5c79a1ee7ea1 /wizards
parent97952280f0adbe195e6a2e0bab8a21a7e352a721 (diff)
remove unnecessary and confusing line
XShapeGrouper.group returns a XShapeGroup which is guaranteed to also be a XShape. If it were not a XShape, this code would not even work since the first assignment would not work, since xShapeGroup is of type XShapeGroup. Change-Id: Ic0d873229a1421c3dc94292d7449614a4b6140a3
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/document/TimeStampControl.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/document/TimeStampControl.java b/wizards/com/sun/star/wizards/document/TimeStampControl.java
index efd66d0e6d79..42b8b5351d89 100644
--- a/wizards/com/sun/star/wizards/document/TimeStampControl.java
+++ b/wizards/com/sun/star/wizards/document/TimeStampControl.java
@@ -58,7 +58,6 @@ public class TimeStampControl extends DatabaseControl
xShapes.add(oDateControl.xShape);
xShapes.add(oTimeControl.xShape);
xShapeGroup = _oFormHandler.xShapeGrouper.group(xShapes);
- xShapeGroup = UnoRuntime.queryInterface(XShape.class, xShapeGroup);
nreldatewidth = 1.0 / ((double) getSize().Width / (double) nDateWidth);
nreltimewidth = 1.0 - nreldatewidth;
}