[Libreoffice-commits] core.git: wizards/com

Lionel Elie Mamane lionel at mamane.lu
Fri Dec 19 14:41:46 PST 2014


 wizards/com/sun/star/wizards/form/StyleApplier.java |   24 ++++++++++----------
 1 file changed, 12 insertions(+), 12 deletions(-)

New commits:
commit df5d040006dc9fdfa65049cd5cbf6841bd4a74de
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Fri Dec 19 23:40:50 2014 +0100

    fix indentation
    
    Change-Id: I35a89fc3a7f388be783c729c8e3414aba1c5c726

diff --git a/wizards/com/sun/star/wizards/form/StyleApplier.java b/wizards/com/sun/star/wizards/form/StyleApplier.java
index 4a171e0..0e33f92 100644
--- a/wizards/com/sun/star/wizards/form/StyleApplier.java
+++ b/wizards/com/sun/star/wizards/form/StyleApplier.java
@@ -334,11 +334,11 @@ public class StyleApplier
         {
             StylesPath = FileAccess.getOfficePath(xMSF, "Config", "", "");
             StylesPath = FileAccess.combinePaths(xMSF, StylesPath, "/wizard/form/styles");
-	}
+        }
         catch (NoValidPathException e)
-	{
-	}
-	return StylesPath;
+        {
+        }
+        return StylesPath;
     }
 
     private int[] getStyleColors(String _filename)
@@ -401,16 +401,16 @@ public class StyleApplier
                             if (aDBControl != null)
                             {
                                 if (aDBControl.xServiceInfo.supportsService("com.sun.star.drawing.ShapeCollection"))
-                            {
-                                    TimeStampControl oTimeStampControl = (TimeStampControl) aDBControl;
-                                for (int i = 0; i < 2; i++)
                                 {
-                                    XPropertySet xPropertySet = oTimeStampControl.getControlofGroupShapeByIndex(i);
-                                    setDBControlColors(xPropertySet, _iStyleColors);
+                                    TimeStampControl oTimeStampControl = (TimeStampControl) aDBControl;
+                                    for (int i = 0; i < 2; i++)
+                                    {
+                                        XPropertySet xPropertySet = oTimeStampControl.getControlofGroupShapeByIndex(i);
+                                        setDBControlColors(xPropertySet, _iStyleColors);
+                                    }
                                 }
-                            }
-                            else
-                            {
+                                else
+                                {
                                     setDBControlColors(aDBControl.xPropertySet, _iStyleColors);
                                 }
                             }


More information about the Libreoffice-commits mailing list