diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2018-07-16 09:53:56 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2018-07-16 11:22:30 +0200 |
commit | 311131fca0242e9465f03b6b1267906790a385c8 (patch) | |
tree | 377c968fb1e239bb97388f0c05f671d921db3832 /vcl/win/gdi/salfont.cxx | |
parent | d41682505503819dab82ced563e4501133924f90 (diff) |
cppcheck: useInitializationList in vcl
reorder members of GIFLZWDecompressor to ease initialization.
use rtl_allocateZeroMemory in ImplVectMap to avoid memset in ctor.
Change-Id: Icfcfe73ec7e52988036995d8dbc604361aee893b
Reviewed-on: https://gerrit.libreoffice.org/57481
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'vcl/win/gdi/salfont.cxx')
-rw-r--r-- | vcl/win/gdi/salfont.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx index e90b25363cd6..40effb6844f2 100644 --- a/vcl/win/gdi/salfont.cxx +++ b/vcl/win/gdi/salfont.cxx @@ -155,8 +155,8 @@ class WinGlyphFallbackSubstititution { public: explicit WinGlyphFallbackSubstititution() + : mhDC(GetDC(nullptr)) { - mhDC = GetDC(nullptr); }; ~WinGlyphFallbackSubstititution() override |