summaryrefslogtreecommitdiff
path: root/nlpsolver/src
diff options
context:
space:
mode:
Diffstat (limited to 'nlpsolver/src')
-rw-r--r--nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java5
-rw-r--r--nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/BaseDialog.java11
2 files changed, 3 insertions, 13 deletions
diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java
index 7401af7eda0c..8a85b5ad2d87 100644
--- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java
+++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java
@@ -360,10 +360,7 @@ public abstract class BaseNLPSolver extends WeakBase
return null;
}
- protected XCellRangeData getCellRangeData(CellRangeAddress cellRangeAddress) {
- return getCellRangeData(cellRangeAddress.Sheet, cellRangeAddress.StartColumn,
- cellRangeAddress.StartRow, cellRangeAddress.EndColumn, cellRangeAddress.EndRow);
- }
+
private XCellRangeData getCellRangeData(int sheet, int startCol, int startRow, int endCol, int endRow) {
try {
diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/BaseDialog.java b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/BaseDialog.java
index 2aaa534ddff2..6c76260a62d3 100644
--- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/BaseDialog.java
+++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/BaseDialog.java
@@ -142,16 +142,9 @@ public abstract class BaseDialog extends BaseControl {
super.finalize();
}
- public ModalState showModal() {
- xWindow.setVisible(true);
- xDialog.execute();
- return modalState;
- }
- public void close() {
- xDialog.endExecute();
- xWindow.setVisible(false);
- }
+
+
public void setCloseable(boolean closeable) {
setProperty("Closeable", new Boolean(closeable));