16 Commits

Author SHA1 Message Date
Nyall Dawson
ec35dbee92 Fix some warnings when building with clang and -Weverything 2015-12-20 21:43:51 +11:00
Nyall Dawson
576875e998 Followup 320c696 use clang-modernize to replace 0/NULL use with nullptr 2015-12-15 11:24:51 +11:00
Nyall Dawson
0caf944747 Misc optimisations identified by clazy:
- call reserve on container classes where applicable
- make sure Q_FOREACH uses references
- remove dynamic casts to base classes
- fix some implicit bool conversions
2015-10-05 18:43:18 +11:00
Juergen E. Fischer
1b4ca622c9 add cppcheck fixes 2015-10-03 21:57:17 +02:00
Nyall Dawson
dcc25fe53f [pal] Clean up header includes 2015-06-29 21:07:30 +10:00
Nyall Dawson
5c88c750ff [pal] Remove useless HAVE_CONFIG_H includes 2015-06-29 21:07:30 +10:00
Nyall Dawson
88c928af56 Fix a bunch of (probably harmless) uninitialized variables
(improves Coverity signal-to-noise ratio)
2015-02-06 19:59:21 +11:00
Juergen E. Fischer
a57066a48d * fix cppcheck warnings
* some sip updates
* [API] fix spelling QgsMultiRenderChecker::drawBackround
* [API] fix spelling QgsSymbolLayerV2Utils::drawStippledBackround
* [API] fix spelling QgsMapSettings::layerTransfrom
2014-11-20 15:02:35 +01:00
Werner Macho
7a6212707c adding license 2012-12-10 01:26:29 +01:00
Juergen E. Fischer
9a129ccab6 fix windows build 2012-09-25 11:23:10 +02:00
Juergen E. Fischer
4549d0e199 cleanups:
- use QMetaObject instead of RTTI
- no get in getters:
  - QgsDataProvider:
   - getProvider => provider
   - getSelectWidget => selectWidget
   - getFunction => function
   - getLibary => providerLibrary
  - QgsProviderRegistry:
   - getLibrary => providerLibrary
- /* ... */ => #if 0 / #endif
- reindentation
2011-05-23 08:10:35 +02:00
jef
4029ba9e31 fix warning
git-svn-id: http://svn.osgeo.org/qgis/trunk@12574 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-22 09:18:50 +00:00
jef
cbf1a50bd6 fix common typos
git-svn-id: http://svn.osgeo.org/qgis/trunk@12528 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-20 12:29:07 +00:00
jef
621ee62280 semi-automatic indentation update
git-svn-id: http://svn.osgeo.org/qgis/trunk@12177 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-18 20:51:28 +00:00
jef
788e6545c7 fix various warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk@10535 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-11 19:52:01 +00:00
mhugent
846a43c658 Merge vector overlay branch (diagram plugin)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10484 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-06 11:53:45 +00:00