diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-12-08 18:57:27 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-12-08 23:14:49 +0100 |
commit | 2ec698b43313c18522b45b28895cd5688a84a700 (patch) | |
tree | 13fe01cd548f8820e32435adbe1d346fd164ff34 /drawinglayer | |
parent | b45cbaa2ea50b2b6f28e78888bbae121deb8558c (diff) |
cppcheck: fix some reports
variableScope reports in comphelper/drawinglayer/editeng
+filter/framework/l10ntools
Change-Id: I4575428773e8b9b3efedabb44fdcd6d8175ac46a
Reviewed-on: https://gerrit.libreoffice.org/46116
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/tools/converters.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drawinglayer/source/tools/converters.cxx b/drawinglayer/source/tools/converters.cxx index ee65e2526a74..41f861bb0172 100644 --- a/drawinglayer/source/tools/converters.cxx +++ b/drawinglayer/source/tools/converters.cxx @@ -42,9 +42,6 @@ namespace drawinglayer sal_uInt32 nMaxQuadratPixels) { BitmapEx aRetval; -#ifdef DBG_UTIL - static bool bDoSaveForVisualControl(false); -#endif if(!rSeq.empty() && nDiscreteWidth && nDiscreteHeight) { @@ -89,6 +86,9 @@ namespace drawinglayer if(pContentProcessor) { +#ifdef DBG_UTIL + static bool bDoSaveForVisualControl(false); +#endif // render content pContentProcessor->process(aSequence); |