wizards/com/sun/star/wizards/document/TimeStampControl.java |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit a47672c5f0162838d622bbfb50f757b6b10bde5e
Author: Lionel Elie Mamane <[email protected]>
Date:   Fri Dec 19 23:19:36 2014 +0100

    Keep as xShapes the newly created GroupShape
    
    That's what we should refer to later, not the temporary collection we made!
    
    Change-Id: Ie288222c6aefa0f50a0b0878ad83b78909ee56d1
    Reviewed-on: https://gerrit.libreoffice.org/13557
    Reviewed-by: David Tardon <[email protected]>
    Tested-by: David Tardon <[email protected]>

diff --git a/wizards/com/sun/star/wizards/document/TimeStampControl.java 
b/wizards/com/sun/star/wizards/document/TimeStampControl.java
index 1ba0734..04926ac 100644
--- a/wizards/com/sun/star/wizards/document/TimeStampControl.java
+++ b/wizards/com/sun/star/wizards/document/TimeStampControl.java
@@ -61,6 +61,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;
     }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to