From 5c23459245f566831383934dd64d19e002bfcfcb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 6 Mar 2019 11:05:49 +0200 Subject: new loplugin constvars detect static variables that can be made const. Thanks to mike kaganski for suggesting this. Here I introduce a new plugin feature - using markers in nearby comments to disable the plugin for specific vars. Some of this stuff was old debugging code. I removed the stuff that was older than 5 years. Change-Id: I6ec7742a7fdadf28fd128b592fcdf6da8257585c Reviewed-on: https://gerrit.libreoffice.org/68807 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svgio/source/svgreader/svgdocumenthandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svgio/source') diff --git a/svgio/source/svgreader/svgdocumenthandler.cxx b/svgio/source/svgreader/svgdocumenthandler.cxx index 9123135fa565..7ab843dfa906 100644 --- a/svgio/source/svgreader/svgdocumenthandler.cxx +++ b/svgio/source/svgreader/svgdocumenthandler.cxx @@ -79,7 +79,7 @@ namespace if(pLast) { bool bAddGap(true); - static bool bNoGapsForBaselineShift(true); + static bool bNoGapsForBaselineShift(true); // loplugin:constvars:ignore if(bNoGapsForBaselineShift) { -- cgit v1.2.3