diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2014-12-19 23:40:50 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2014-12-19 23:41:18 +0100 |
commit | df5d040006dc9fdfa65049cd5cbf6841bd4a74de (patch) | |
tree | cc352900bff03e4228b24edb3fccdf2b9379b77a /wizards | |
parent | c2cca8439d385d24c8de3601ff90d7522ff9c9a5 (diff) |
fix indentation
Change-Id: I35a89fc3a7f388be783c729c8e3414aba1c5c726
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/form/StyleApplier.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/wizards/com/sun/star/wizards/form/StyleApplier.java b/wizards/com/sun/star/wizards/form/StyleApplier.java index 4a171e022fba..0e33f9271063 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); } } |