summaryrefslogtreecommitdiff
path: root/nlpsolver/src
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-13 10:08:31 +0200
committerNoel Grandin <noel@peralex.com>2014-08-13 10:24:10 +0200
commit34bcf9b498bccb5c924f4cec850ff15d88df6f07 (patch)
tree4d9604ec8c3b73639338ec45a0618b5daa5cf0ed /nlpsolver/src
parent347926e8e57c1825261daa46c1886aa2ebf9571b (diff)
java: remove dead methods
found by UCDetector Change-Id: I219caa8e680dba5a395541a778df6144841c4dde
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));