summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/form/StyleApplier.java
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com/sun/star/wizards/form/StyleApplier.java')
-rw-r--r--wizards/com/sun/star/wizards/form/StyleApplier.java24
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);
}
}