diff options
Diffstat (limited to 'nlpsolver/src/com')
-rw-r--r-- | nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/controls/BaseControl.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/controls/BaseControl.java b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/controls/BaseControl.java index a1de9d28ff29..23ba098c37f3 100644 --- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/controls/BaseControl.java +++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/controls/BaseControl.java @@ -47,7 +47,7 @@ public abstract class BaseControl { private Object unoModel; protected Object unoControl; private XPropertySet properties; - private BaseControl parentControl; + public abstract String getName(); @@ -79,7 +79,6 @@ public abstract class BaseControl { XControlContainer controlContainer = UnoRuntime.queryInterface(XControlContainer.class, parentControl.unoControl); unoControl = controlContainer.getControl(name); - this.parentControl = parentControl; } catch (IllegalArgumentException ex) { Logger.getLogger(BaseControl.class.getName()).log(Level.SEVERE, null, ex); } catch (ElementExistException ex) { @@ -93,7 +92,6 @@ public abstract class BaseControl { this.context = context; unoModel = null; unoControl = null; - parentControl = null; } protected void setProperty(String name, Object value) { |