summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/graphical
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 /qadevOOo/runner/graphical
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 'qadevOOo/runner/graphical')
-rw-r--r--qadevOOo/runner/graphical/MSOfficePostscriptCreator.java2
-rw-r--r--qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java2
-rw-r--r--qadevOOo/runner/graphical/PerformanceContainer.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java b/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java
index ba9a7ba25c64..a909651bc5f0 100644
--- a/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java
+++ b/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java
@@ -36,7 +36,7 @@ public class MSOfficePostscriptCreator implements IOffice
{
private String m_sPrinterName; // within Windows the tools need a printer name;
- public void setPrinterName(String _s)
+ private void setPrinterName(String _s)
{
m_sPrinterName = _s;
}
diff --git a/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java b/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java
index dfbdfd8a648c..efba9a86cfe8 100644
--- a/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java
+++ b/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java
@@ -622,7 +622,7 @@ public class OpenOfficePostscriptCreator implements IOffice
- public boolean isStoreAllowed()
+ private boolean isStoreAllowed()
{
return false;
}
diff --git a/qadevOOo/runner/graphical/PerformanceContainer.java b/qadevOOo/runner/graphical/PerformanceContainer.java
index 5812f59d7f71..0ebda690f5c5 100644
--- a/qadevOOo/runner/graphical/PerformanceContainer.java
+++ b/qadevOOo/runner/graphical/PerformanceContainer.java
@@ -27,7 +27,7 @@ public class PerformanceContainer {
/*
simple helper functions to start/stop a timer, to know how long a process need in milliseconds
*/
- public long getStartTime()
+ private long getStartTime()
{
return System.currentTimeMillis();
}