Kaydet (Commit) c47795a6 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

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
üst 97952280
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment