diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2019-09-26 12:46:41 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2019-09-27 15:03:41 +0200 |
commit | 89bb0b0dcd8dc4656d0047cd10702d1c471c0fa1 (patch) | |
tree | 890d97eaf2bbcab24cb777f8a65bd6fb47f4218d /unoidl/source | |
parent | 4b995afda324fb4e85991c723b63a2703f33669e (diff) |
Deduplicate O(U)StringNumber definitions; add toAsciiUpperCase
Change-Id: I00e7ce62940907b5f4efc2b7f23f355c3e43ed6b
Reviewed-on: https://gerrit.libreoffice.org/79686
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'unoidl/source')
-rw-r--r-- | unoidl/source/sourceprovider-scanner.l | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/unoidl/source/sourceprovider-scanner.l b/unoidl/source/sourceprovider-scanner.l index d0dd5a0dc155..1700259e5878 100644 --- a/unoidl/source/sourceprovider-scanner.l +++ b/unoidl/source/sourceprovider-scanner.l @@ -244,8 +244,7 @@ ALNUM {DIGIT}|{ALPHA} unsigned char c = yytext[0]; yyextra->errorMessage = c >= ' ' && c <= '~' ? OUString("invalid character \"" + OUStringLiteral1(c) + "\"") - : OUString( - "invalid byte x" + OUString(OUString::number(c, 16)).toAsciiUpperCase()); + : OUString("invalid byte x" + OUString::number(c, 16).toAsciiUpperCase()); return TOK_ERROR; } |