summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/form/StyleApplier.java
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-12-19 17:48:09 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2014-12-19 23:33:28 +0100
commita983fb0f7c7b94d0771d277777035254acce093f (patch)
tree58c561a4888e7c1434449d2f8e4b5c79a1ee7ea1 /wizards/com/sun/star/wizards/form/StyleApplier.java
parentffd3388d08aafbbea92c6354064cf1ab6a56bd70 (diff)
Revert "fdo#87301 don't rely on the shape to get the control"
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);
}
}