[Libreoffice-commits] core.git: idlc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Feb 28 07:25:17 UTC 2019
idlc/source/scanner.l | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8701bed5e8cf344dfc2c10051bbf42291b6cb8d9
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Feb 27 13:41:21 2019 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Feb 28 08:24:49 2019 +0100
loplugin:stringconstant
Change-Id: I84657379bfc999df40a17fc199bdd20b95414e32
Reviewed-on: https://gerrit.libreoffice.org/68468
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/idlc/source/scanner.l b/idlc/source/scanner.l
index cf018ec21567..a4137551701b 100644
--- a/idlc/source/scanner.l
+++ b/idlc/source/scanner.l
@@ -240,7 +240,7 @@ static void parseLineAndFile(sal_Char* pBuf)
for (; *r != '"'; r++) ;
*r = 0;
if (*h == '\0')
- idlc()->setFileName(OString("standard input"));
+ idlc()->setFileName("standard input");
else
idlc()->setFileName(OString(h));
More information about the Libreoffice-commits
mailing list