diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-11-26 08:18:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-11-26 09:14:34 +0100 |
commit | c1d0b2ec10ee10127409a6e085b26fdc86d426ad (patch) | |
tree | 9f0799cf5c4191f0b69e8c902cd718bd7b809da2 /vcl | |
parent | f32b7faf33778282a9519d75fc0a130aa93b3144 (diff) |
-Werror,-Wreorder-ctor
Change-Id: Ie0a1036f57bc1449dda324b99fd83170969958a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125856
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/gdi/salfont.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx index 7e3197807d10..7682def12661 100644 --- a/vcl/win/gdi/salfont.cxx +++ b/vcl/win/gdi/salfont.cxx @@ -1474,10 +1474,10 @@ class ScopedFontHDC final { public: explicit ScopedFontHDC(WinSalGraphics& rGraphics, const vcl::font::PhysicalFontFace& rFontFace) - : m_hDC(nullptr) - , m_hOrigFont(nullptr) // use height=1000 for easier debugging (to match psprint's font units) - , m_aFSP(rFontFace, Size(0,1000), 1000.0, 0, false) + : m_aFSP(rFontFace, Size(0,1000), 1000.0, 0, false) + , m_hDC(nullptr) + , m_hOrigFont(nullptr) { m_hDC = CreateCompatibleDC(rGraphics.getHDC()); if (!m_hDC) |