summaryrefslogtreecommitdiff
path: root/vcl/source/uitest/logger.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/uitest/logger.cxx')
-rw-r--r--vcl/source/uitest/logger.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/uitest/logger.cxx b/vcl/source/uitest/logger.cxx
index 2ab6026de4af..858dd0353d14 100644
--- a/vcl/source/uitest/logger.cxx
+++ b/vcl/source/uitest/logger.cxx
@@ -225,13 +225,13 @@ void UITestLogger::logKeyInput(VclPtr<vcl::Window> const& xUIElement, const KeyE
aKeyCode += "ALT+";
if (aFound.isEmpty())
- aKeyCode += OUStringLiteral1(nChar) + "\"}";
+ aKeyCode += OUStringChar(nChar) + "\"}";
else
aKeyCode += aFound + "\"}";
}
else
{
- aKeyCode = "{\"TEXT\": \"" + OUStringLiteral1(nChar) + "\"}";
+ aKeyCode = "{\"TEXT\": \"" + OUStringChar(nChar) + "\"}";
}
std::unique_ptr<UIObject> pUIObject = xUIElement->GetUITestFactory()(xUIElement.get());