idlc/source/scanner.l | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
New commits: commit 3a90121c460f3832966773c3341708f77e5e0474 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Sun May 30 17:12:25 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sun May 30 18:17:00 2021 +0200 loplugin:stringview Change-Id: I4a6345db1ff379dedc540ceaf295968689b1d0c0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116410 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/idlc/source/scanner.l b/idlc/source/scanner.l index 7e3423fa8dc5..e7fff5ee31e6 100644 --- a/idlc/source/scanner.l +++ b/idlc/source/scanner.l @@ -396,15 +396,15 @@ published return IDL_PUBLISHED; } <COMMENT>[^*]+ { - docu += OString(yytext); + docu += yytext; } <COMMENT>"*"[^*/]+ { - docu += OString(yytext); + docu += yytext; } <COMMENT>"**" { - docu += OString(yytext); + docu += yytext; } <COMMENT>[*]+"/" { @@ -423,21 +423,21 @@ published return IDL_PUBLISHED; } <DOCU>[^*\n]+ { - docu += OString(yytext); + docu += yytext; } <DOCU>"\n"[ \t]*"*"{1} { idlc()->setLineNumber( idlc()->getLineNumber() + 1); - docu += OString("\n"); + docu += "\n"; } <DOCU>"\n" { idlc()->setLineNumber( idlc()->getLineNumber() + 1); - docu += OString(yytext); + docu += yytext; } <DOCU>"*"[^*^/\n]* { - docu += OString(yytext); + docu += yytext; } <DOCU>"\n"[ \t]*"*/" { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits