[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - wizards/com

Lionel Elie Mamane lionel at mamane.lu
Wed Jan 7 09:23:12 PST 2015


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

New commits:
commit a47672c5f0162838d622bbfb50f757b6b10bde5e
Author: Lionel Elie Mamane <lionel at mamane.lu>
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 <dtardon at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

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;
     }


More information about the Libreoffice-commits mailing list