summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-08 11:36:04 +0200
committerNoel Grandin <noel@peralex.com>2014-08-13 08:49:22 +0200
commitda677dfd59c2b551f3335ee0a5d5dfb33f9869c5 (patch)
tree9aa09066c95935117bf405b119ed9f89f448a54d /toolkit
parent14d1a11ec4a7ed0deeac522403248536e8d23f57 (diff)
java: reduce scope, make fields private
found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java2
-rw-r--r--toolkit/qa/complex/toolkit/accessibility/_XAccessibleContext.java2
-rw-r--r--toolkit/qa/complex/toolkit/accessibility/_XAccessibleEventBroadcaster.java8
-rw-r--r--toolkit/qa/complex/toolkit/accessibility/_XAccessibleExtendedComponent.java2
-rw-r--r--toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java10
5 files changed, 12 insertions, 12 deletions
diff --git a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java
index ea8c29b484e9..4b7e6bae01bb 100644
--- a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java
+++ b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java
@@ -47,7 +47,7 @@ import com.sun.star.uno.XInterface;
*/
public class _XAccessibleComponent {
- public XAccessibleComponent oObj = null;
+ private XAccessibleComponent oObj = null;
private Rectangle bounds = null ;
diff --git a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleContext.java b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleContext.java
index 808f3120d38d..112f96865e83 100644
--- a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleContext.java
+++ b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleContext.java
@@ -48,7 +48,7 @@ import util.AccessibilityTools;
*/
public class _XAccessibleContext {
- public XAccessibleContext oObj = null;
+ private XAccessibleContext oObj = null;
private int childCount = 0;
private XAccessible parent = null ;
diff --git a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleEventBroadcaster.java b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleEventBroadcaster.java
index 2d18276cbb0d..f6cb56170e0b 100644
--- a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleEventBroadcaster.java
+++ b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleEventBroadcaster.java
@@ -51,15 +51,15 @@ import com.sun.star.uno.UnoRuntime;
*/
public class _XAccessibleEventBroadcaster {
- public XAccessibleEventBroadcaster oObj = null;
- EventProducer prod = null ;
- EvListener list = new EvListener();
+ private XAccessibleEventBroadcaster oObj = null;
+ private EventProducer prod = null ;
+ private EvListener list = new EvListener();
/**
* An event producer
*/
public static class EventProducer {
- XWindow xWindow;
+ private XWindow xWindow;
private EventProducer(XWindow window) {
xWindow = window;
}
diff --git a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleExtendedComponent.java b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleExtendedComponent.java
index ad278316efb4..24b1f4e6f42c 100644
--- a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleExtendedComponent.java
+++ b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleExtendedComponent.java
@@ -41,7 +41,7 @@ public class _XAccessibleExtendedComponent {
private static final String className =
"com.sun.star.accessibility.XAccessibleExtendedComponent" ;
- public XAccessibleExtendedComponent oObj = null;
+ private XAccessibleExtendedComponent oObj = null;
// temporary while accessibility package is in com.sun.star
protected String getTestedClassName() {
diff --git a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java
index 4c91a01a294a..61f1bd480f6b 100644
--- a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java
+++ b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java
@@ -63,14 +63,14 @@ import com.sun.star.uno.UnoRuntime;
*/
public class _XAccessibleText {
- public XAccessibleText oObj = null;
+ private XAccessibleText oObj = null;
private XMultiServiceFactory xMSF;
- Rectangle chBounds = null;
- int chCount = 0;
+ private Rectangle chBounds = null;
+ private int chCount = 0;
- String text = null;
- String editOnly = null;
+ private String text = null;
+ private String editOnly = null;
public _XAccessibleText(XInterface object, XMultiServiceFactory xMSF, String editOnly) {