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.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/form/StyleApplier.java b/wizards/com/sun/star/wizards/form/StyleApplier.java
index 10037aa4990c..4a171e022fba 100644
--- a/wizards/com/sun/star/wizards/form/StyleApplier.java
+++ b/wizards/com/sun/star/wizards/form/StyleApplier.java
@@ -271,7 +271,7 @@ public class StyleApplier
TimeStampControl oTimeStampControl = (TimeStampControl) DBControls[n];
for (int i = 0; i < 2; i++)
{
- XPropertySet xPropertySet = oTimeStampControl.getControlByIndex(i);
+ XPropertySet xPropertySet = oTimeStampControl.getControlofGroupShapeByIndex(i);
if (xPropertySet.getPropertySetInfo().hasPropertyByName(PropertyNames.PROPERTY_BORDER))
{
xPropertySet.setPropertyValue(PropertyNames.PROPERTY_BORDER, IBorderValue);
@@ -405,7 +405,7 @@ public class StyleApplier
TimeStampControl oTimeStampControl = (TimeStampControl) aDBControl;
for (int i = 0; i < 2; i++)
{
- XPropertySet xPropertySet = oTimeStampControl.getControlByIndex(i);
+ XPropertySet xPropertySet = oTimeStampControl.getControlofGroupShapeByIndex(i);
setDBControlColors(xPropertySet, _iStyleColors);
}
}