summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorRobert Antoni Buj i Gelonch <robert.buj@gmail.com>2014-10-29 23:43:12 +0100
committerNoel Grandin <noelgrandin@gmail.com>2014-10-30 08:58:03 +0000
commit6412ebe5dd05eade0d09fe736d6d485d8d285ed7 (patch)
treeca3d55b85ca0fe9da5767ea879462722ee5f3e59 /toolkit
parent5d8ecad569fd7a254902da154ed8057ec61f3a83 (diff)
accessibility: shift by zero
Change-Id: I4e25b0a6929cc88aa2ec1d213b8f1115de6be607 Reviewed-on: https://gerrit.libreoffice.org/12146 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/test/accessibility/AccessibleComponentHandler.java4
-rw-r--r--toolkit/test/accessibility/AccessibleExtendedComponentHandler.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/test/accessibility/AccessibleComponentHandler.java b/toolkit/test/accessibility/AccessibleComponentHandler.java
index 23125fd32b63..01a86c83fb21 100644
--- a/toolkit/test/accessibility/AccessibleComponentHandler.java
+++ b/toolkit/test/accessibility/AccessibleComponentHandler.java
@@ -92,7 +92,7 @@ class AccessibleComponentHandler
aChild = new StringNode ("Foreground color: R"
+ (nColor>>16&0xff)
+ "G" + (nColor>>8&0xff)
- + "B" + (nColor>>0&0xff)
+ + "B" + (nColor&0xff)
+ "A" + (nColor>>24&0xff),
aParent);
break;
@@ -101,7 +101,7 @@ class AccessibleComponentHandler
aChild = new StringNode ("Background color: R"
+ (nColor>>16&0xff)
+ "G" + (nColor>>8&0xff)
- + "B" + (nColor>>0&0xff)
+ + "B" + (nColor&0xff)
+ "A" + (nColor>>24&0xff),
aParent);
break;
diff --git a/toolkit/test/accessibility/AccessibleExtendedComponentHandler.java b/toolkit/test/accessibility/AccessibleExtendedComponentHandler.java
index 4adb6274078c..3cdf1d405017 100644
--- a/toolkit/test/accessibility/AccessibleExtendedComponentHandler.java
+++ b/toolkit/test/accessibility/AccessibleExtendedComponentHandler.java
@@ -72,7 +72,7 @@ class AccessibleExtendedComponentHandler
aChild = new StringNode ("Deprecated Foreground color: R"
+ (nColor>>16&0xff)
+ "G" + (nColor>>8&0xff)
- + "B" + (nColor>>0&0xff)
+ + "B" + (nColor&0xff)
+ "A" + (nColor>>24&0xff),
aParent);
break;
@@ -81,7 +81,7 @@ class AccessibleExtendedComponentHandler
aChild = new StringNode ("Deprecated Background color: R"
+ (nColor>>16&0xff)
+ "G" + (nColor>>8&0xff)
- + "B" + (nColor>>0&0xff)
+ + "B" + (nColor&0xff)
+ "A" + (nColor>>24&0xff),
aParent);
break;