summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-02-27 13:41:21 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-02-28 08:24:49 +0100
commit8701bed5e8cf344dfc2c10051bbf42291b6cb8d9 (patch)
tree135bf6693cd130a803605d906ed3763630e578f1 /idlc
parent846a91faad76e274ea059ecc1e480d5ff7bf44dd (diff)
loplugin:stringconstant
Change-Id: I84657379bfc999df40a17fc199bdd20b95414e32 Reviewed-on: https://gerrit.libreoffice.org/68468 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/scanner.l2
1 files changed, 1 insertions, 1 deletions
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));