[Libreoffice] [PATCH] cppcheck scope

Kenneth Venken kenneth.venken at gmail.com
Thu Sep 1 14:28:08 PDT 2011


This patch should fix the cppcheck style warnings for grfmgr.cxx:

core/svtools/source/graphic/grfmgr.cxx
278	variableScope	style	The scope of the variable 'nNewLeft' can be reduced
278	variableScope	style	The scope of the variable 'nNewTop' can be reduced
278	variableScope	style	The scope of the variable 'nNewRight' can be reduced
278	variableScope	style	The scope of the variable 'nNewBottom' can be reduced
279	variableScope	style	The scope of the variable 'fScale' can be reduced

patch is released under LGPLv3.

-- Kenneth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpp-cleanliness-style-scope.patch
Type: text/x-patch
Size: 2214 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110901/217ecdca/attachment.bin>


More information about the LibreOffice mailing list