diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2014-12-19 15:43:37 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2014-12-19 23:33:27 +0100 |
commit | 0cc372bb6b3107b749ece41343cb9080fccae83e (patch) | |
tree | 527d686cc3bbfdd5663f482f6735d7de8a8e35c4 /wizards | |
parent | 68f65c4c08a8804b9a28b926c2a08cee486b60e9 (diff) |
fix indentation
Change-Id: I13b50f49658a9ca38dc9a41b219428d5faad70a3
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 10037aa4990c..2495529ab2d1 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.getControlByIndex(i); - setDBControlColors(xPropertySet, _iStyleColors); + TimeStampControl oTimeStampControl = (TimeStampControl) aDBControl; + for (int i = 0; i < 2; i++) + { + XPropertySet xPropertySet = oTimeStampControl.getControlByIndex(i); + setDBControlColors(xPropertySet, _iStyleColors); + } } - } - else - { + else + { setDBControlColors(aDBControl.xPropertySet, _iStyleColors); } } |