summaryrefslogtreecommitdiff
path: root/sw/qa/complex
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-05 11:03:50 +0200
committerNoel Grandin <noel@peralex.com>2014-12-05 11:15:57 +0200
commitc199b76d882619bf9c4169631bc265e5bd2ca7fe (patch)
treeaca1e89f3bc907a8f7b8e0fe5702bbe619f4a6a8 /sw/qa/complex
parentdb203e59d6b54112cbf42923d4f02940b15e3c9f (diff)
java: remove some unused local variables
Change-Id: Ia01528460e2f4b610d123e29cad66520abc6a965
Diffstat (limited to 'sw/qa/complex')
-rw-r--r--sw/qa/complex/writer/CheckBookmarks.java4
-rw-r--r--sw/qa/complex/writer/TextPortionEnumerationTest.java2
2 files changed, 2 insertions, 4 deletions
diff --git a/sw/qa/complex/writer/CheckBookmarks.java b/sw/qa/complex/writer/CheckBookmarks.java
index 8dc6b76b30a9..607064a80d58 100644
--- a/sw/qa/complex/writer/CheckBookmarks.java
+++ b/sw/qa/complex/writer/CheckBookmarks.java
@@ -146,9 +146,7 @@ public class CheckBookmarks {
throws com.sun.star.uno.Exception
{
XText xText = m_xDoc.getText();
- XSimpleText xSimpleText = UnoRuntime.queryInterface(
- XSimpleText.class,
- xText);
+ UnoRuntime.queryInterface(XSimpleText.class, xText);
for(int nPara=0; nPara<10; ++nPara) {
for(int nBookmark=0; nBookmark<100; ++nBookmark){
insertBookmark(
diff --git a/sw/qa/complex/writer/TextPortionEnumerationTest.java b/sw/qa/complex/writer/TextPortionEnumerationTest.java
index e5d64ef5d575..ed5885b0a51a 100644
--- a/sw/qa/complex/writer/TextPortionEnumerationTest.java
+++ b/sw/qa/complex/writer/TextPortionEnumerationTest.java
@@ -589,7 +589,7 @@ class FuzzyTester
TreeNode node = m_BufferExpected.get(i);
int j = m_BufferActual.indexOf(node);
if (j >= 0) {
- TreeNode other = m_BufferActual.get(j);
+ m_BufferActual.get(j);
if (j != i)
{
//FIXME how bad is this?