summaryrefslogtreecommitdiff
path: root/nlpsolver/src/com
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-10 15:36:24 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-12-11 06:09:03 +0000
commit7557f23b31dcfb4d86c122bb34d9675c0db9a694 (patch)
tree5feb7be2b0841d8ee60d935cf2e29e9a01a31a27 /nlpsolver/src/com
parent808fd5fbd8868dfd95c8a38676815798fa2b79c4 (diff)
java: reduce visibility of fields and methods
found by PMD Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6 Reviewed-on: https://gerrit.libreoffice.org/13409 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'nlpsolver/src/com')
-rw-r--r--nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/BaseDialog.java4
1 files changed, 2 insertions, 2 deletions
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 84db9685d6a3..36fdd4d55ac2 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
@@ -71,7 +71,7 @@ public abstract class BaseDialog extends BaseControl {
return xMSF;
}
- public XFrame getCurrentFrame() {
+ private XFrame getCurrentFrame() {
try {
Object oDesktop = xMCF.createInstanceWithContext("com.sun.star.frame.Desktop", context);
XDesktop xDesktop = UnoRuntime.queryInterface(XDesktop.class, oDesktop);
@@ -84,7 +84,7 @@ public abstract class BaseDialog extends BaseControl {
}
}
- public Rectangle getWorkspaceDimensions() {
+ private Rectangle getWorkspaceDimensions() {
return getCurrentFrame().getComponentWindow().getPosSize();
}