From c9253818ec8252169c20450b41878be459568d95 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 30 Jul 2017 12:16:31 +0200 Subject: loplugin:oncevar extend oncevar to any POD type Change-Id: Ia98ee0a67f183e40fb0c38477760124b2c411dc0 Reviewed-on: https://gerrit.libreoffice.org/40564 Tested-by: Jenkins Reviewed-by: Noel Grandin --- shell/source/tools/lngconvex/lngconvex.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/source/tools/lngconvex/lngconvex.cxx b/shell/source/tools/lngconvex/lngconvex.cxx index 49edc07ad92c..61884e65a8a5 100644 --- a/shell/source/tools/lngconvex/lngconvex.cxx +++ b/shell/source/tools/lngconvex/lngconvex.cxx @@ -343,7 +343,7 @@ void read_ulf_file(const std::string& FileName, Substitutor& Substitutor) StreamExceptionsEnabler sexc_in(in); //skip the byte-order-mark 0xEF 0xBB 0xBF, identifying UTF8 files - unsigned char BOM[3] = {0xEF, 0xBB, 0xBF}; + unsigned char const BOM[3] = {0xEF, 0xBB, 0xBF}; char buff[3]; in.read(&buff[0], 3); -- cgit