summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-30 17:12:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-30 18:17:00 +0200
commit3a90121c460f3832966773c3341708f77e5e0474 (patch)
treeda39a3928016c24bbab2d1101e7f21043e164c19 /idlc
parent3fc89330a976cb2221a579ccc6d7230b9d20691b (diff)
loplugin:stringview
Change-Id: I4a6345db1ff379dedc540ceaf295968689b1d0c0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116410 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/scanner.l14
1 files changed, 7 insertions, 7 deletions
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]*"*/" {