diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2014-12-19 17:48:00 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2014-12-19 23:33:28 +0100 |
commit | ffd3388d08aafbbea92c6354064cf1ab6a56bd70 (patch) | |
tree | 031895595ac672b4013a8759b4c54595375cb9a5 | |
parent | 0cc372bb6b3107b749ece41343cb9080fccae83e (diff) |
Revert "fix indentation"
This reverts commit 534e5676028e41205adba3928f96cd35559b5dca.
-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 2495529ab2d1..10037aa4990c 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); - } - } - else + for (int i = 0; i < 2; i++) { + XPropertySet xPropertySet = oTimeStampControl.getControlByIndex(i); + setDBControlColors(xPropertySet, _iStyleColors); + } + } + else + { setDBControlColors(aDBControl.xPropertySet, _iStyleColors); } } |