diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-08 12:44:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 08:49:23 +0200 |
commit | 68cd011c907d00493bf2bfde531c1e244819596b (patch) | |
tree | 0225318c908b00faaa701a19aaf7aa567c3582a0 /sfx2/qa | |
parent | 70f56bc22fe952c75ec714e05e1bb5296491a36a (diff) |
java: reduce scope, make some methods private
found by UCDetector
Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
Diffstat (limited to 'sfx2/qa')
-rw-r--r-- | sfx2/qa/complex/sfx2/DocumentMetadataAccess.java | 2 | ||||
-rw-r--r-- | sfx2/qa/complex/sfx2/DocumentProperties.java | 2 | ||||
-rw-r--r-- | sfx2/qa/complex/sfx2/tools/WriterHelper.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/qa/complex/sfx2/DocumentMetadataAccess.java b/sfx2/qa/complex/sfx2/DocumentMetadataAccess.java index d0753ba3a14c..39d6b3e6dc52 100644 --- a/sfx2/qa/complex/sfx2/DocumentMetadataAccess.java +++ b/sfx2/qa/complex/sfx2/DocumentMetadataAccess.java @@ -1001,7 +1001,7 @@ public class DocumentMetadataAccess return 0; } - public int cmp(XNode i_Left, XNode i_Right) + private int cmp(XNode i_Left, XNode i_Right) { if (isBlank(i_Left)) { return isBlank(i_Right) ? 0 : 1; diff --git a/sfx2/qa/complex/sfx2/DocumentProperties.java b/sfx2/qa/complex/sfx2/DocumentProperties.java index 6686cd96959b..3269408f32f5 100644 --- a/sfx2/qa/complex/sfx2/DocumentProperties.java +++ b/sfx2/qa/complex/sfx2/DocumentProperties.java @@ -70,7 +70,7 @@ public class DocumentProperties m_Called = false; } - public boolean reset() { + private boolean reset() { boolean oldCalled = m_Called; m_Called = false; return oldCalled; diff --git a/sfx2/qa/complex/sfx2/tools/WriterHelper.java b/sfx2/qa/complex/sfx2/tools/WriterHelper.java index 9f6672f8d8ce..59a5c1c7582a 100644 --- a/sfx2/qa/complex/sfx2/tools/WriterHelper.java +++ b/sfx2/qa/complex/sfx2/tools/WriterHelper.java @@ -255,7 +255,7 @@ public class WriterHelper { /** creates an instance of com.sun.star.frame.Desktop to query the XDesktop interface * @return returns the gained XDesktop interface */ - protected XDesktop getDesktop() { + private XDesktop getDesktop() { Object desk = null; try { |