diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2014-12-19 17:48:09 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2014-12-19 23:33:28 +0100 |
commit | a983fb0f7c7b94d0771d277777035254acce093f (patch) | |
tree | 58c561a4888e7c1434449d2f8e4b5c79a1ee7ea1 /wizards/com/sun/star/wizards/form/StyleApplier.java | |
parent | ffd3388d08aafbbea92c6354064cf1ab6a56bd70 (diff) |
Revert "fdo#87301 don't rely on the shape to get the control"
This reverts commit 89b3af722cc13a0af06822afe248cdec3b63cfeb.
Diffstat (limited to 'wizards/com/sun/star/wizards/form/StyleApplier.java')
-rw-r--r-- | wizards/com/sun/star/wizards/form/StyleApplier.java | 4 |
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); } } |