From 8701bed5e8cf344dfc2c10051bbf42291b6cb8d9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 27 Feb 2019 13:41:21 +0100 Subject: loplugin:stringconstant Change-Id: I84657379bfc999df40a17fc199bdd20b95414e32 Reviewed-on: https://gerrit.libreoffice.org/68468 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- idlc/source/scanner.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'idlc') 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)); -- cgit