summaryrefslogtreecommitdiff
path: root/test/source/a11y/AccessibilityTools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/a11y/AccessibilityTools.cxx')
-rw-r--r--test/source/a11y/AccessibilityTools.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/source/a11y/AccessibilityTools.cxx b/test/source/a11y/AccessibilityTools.cxx
index b754f46d2f69..15a7cec17bc3 100644
--- a/test/source/a11y/AccessibilityTools.cxx
+++ b/test/source/a11y/AccessibilityTools.cxx
@@ -660,9 +660,7 @@ OUString AccessibilityTools::debugName(accessibility::XAccessibleAction* xAct)
if (i > 0)
r.append(", ");
- r.append("description=\"");
- r.append(xAct->getAccessibleActionDescription(i));
- r.append('"');
+ r.append("description=\"" + xAct->getAccessibleActionDescription(i) + "\"");
const auto& xKeyBinding = xAct->getAccessibleActionKeyBinding(i);
if (xKeyBinding)
@@ -689,8 +687,7 @@ OUString AccessibilityTools::debugName(accessibility::XAccessibleAction* xAct)
r.append("<Mod3>");
if (keyStroke.Modifiers & awt::KeyModifier::SHIFT)
r.append("<Shift>");
- r.append(keyStroke.KeyChar);
- r.append('"');
+ r.append(OUStringChar(keyStroke.KeyChar) + "\"");
}
}
r.append("]");