diff options
Diffstat (limited to 'wizards/com/sun/star/wizards/document/Control.java')
-rw-r--r-- | wizards/com/sun/star/wizards/document/Control.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/document/Control.java b/wizards/com/sun/star/wizards/document/Control.java index ae26efe6cce5..448b84f7224c 100644 --- a/wizards/com/sun/star/wizards/document/Control.java +++ b/wizards/com/sun/star/wizards/document/Control.java @@ -43,7 +43,6 @@ public class Control extends Shape private XControl xControl; public XPropertySet xPropertySet; XWindowPeer xWindowPeer; - private String sServiceName; private static final int SOMAXTEXTSIZE = 50; private int icontroltype; private XNameContainer xFormName; @@ -76,7 +75,7 @@ public class Control extends Shape try { icontroltype = _icontroltype; - sServiceName = oFormHandler.sModelServices[getControlType()]; + String sServiceName = oFormHandler.sModelServices[getControlType()]; Object oControlModel = oFormHandler.xMSFDoc.createInstance(sServiceName); xControlModel = UnoRuntime.queryInterface( XControlModel.class, oControlModel ); xPropertySet = UnoRuntime.queryInterface( XPropertySet.class, oControlModel ); |