idlc/source/scanner.l |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8701bed5e8cf344dfc2c10051bbf42291b6cb8d9
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Wed Feb 27 13:41:21 2019 +0100
Commit:     Stephan Bergmann <[email protected]>
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 <[email protected]>

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));
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to