diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-30 15:29:54 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-30 15:29:54 +0200 |
commit | 172b8a5cdb8b11116d666e460cfabe651004efec (patch) | |
tree | 2c703a4156d3a35a80695fd1b48057e0e8425063 /unoidl | |
parent | 70986cc3d4b283ce58f659507c57062eeb4b4b98 (diff) |
loplugin:stringconstant: adapt to improved OUStringLiteral1 (unoidl)
Change-Id: I8f7fb8bba65f99732bb172b45e309868047f545c
Diffstat (limited to 'unoidl')
-rw-r--r-- | unoidl/source/sourceprovider-scanner.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unoidl/source/sourceprovider-scanner.l b/unoidl/source/sourceprovider-scanner.l index b0e9299b3779..d9b60baf4a17 100644 --- a/unoidl/source/sourceprovider-scanner.l +++ b/unoidl/source/sourceprovider-scanner.l @@ -242,7 +242,7 @@ ALNUM {DIGIT}|{ALPHA} . { unsigned char c = yytext[0]; yyextra->errorMessage = c >= ' ' && c <= '~' - ? OUString("invalid character \"" + OUString(sal_Unicode(c)) + "\"") + ? OUString("invalid character \"" + OUStringLiteral1(c) + "\"") : OUString( "invalid byte x" + OUString::number(c, 16).toAsciiUpperCase()); return TOK_ERROR; |