summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2018-07-16 09:53:56 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2018-07-16 11:22:30 +0200
commit311131fca0242e9465f03b6b1267906790a385c8 (patch)
tree377c968fb1e239bb97388f0c05f671d921db3832 /vcl/win
parentd41682505503819dab82ced563e4501133924f90 (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')
-rw-r--r--vcl/win/gdi/salfont.cxx2
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