summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-27 11:51:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-27 11:51:53 +0200
commit97c4f06d097b31e96bd27bb13f1366a02a5c0064 (patch)
treeb4bada5a08827263bb5cbb975139ec84927c305f /qadevOOo
parentf29ce347f906d4147e7366a888dd4b401cbb1894 (diff)
untabify
Change-Id: I090f63d93166de9bee2527e0e75248916204be5a
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java
index 48bd9b2bf73d..a91e1d6d45ce 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java
@@ -469,18 +469,18 @@ public class _XAccessibleComponent extends MultiMethodTest {
boolean result = false;
Size size = oObj.getSize();
- for (int i = 0; i < 2 && !result; i++)
- {
- result = true;
- result &= (size.Width == bounds.Width);
- result &= (size.Height == bounds.Height);
- if (!result) {
- log.println( "potential race bounds " + bounds.Width + "x" + bounds.Height +
- " vs. size " + size.Width + "x" + size.Height);
- // Possibily we hit a race condition and it re-sized (?) ...
- bounds = oObj.getBounds();
- size = oObj.getSize();
- }
+ for (int i = 0; i < 2 && !result; i++)
+ {
+ result = true;
+ result &= (size.Width == bounds.Width);
+ result &= (size.Height == bounds.Height);
+ if (!result) {
+ log.println( "potential race bounds " + bounds.Width + "x" + bounds.Height +
+ " vs. size " + size.Width + "x" + size.Height);
+ // Possibily we hit a race condition and it re-sized (?) ...
+ bounds = oObj.getBounds();
+ size = oObj.getSize();
+ }
}
tRes.tested("getSize()", result);