vcl/win/gdi/salfont.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit c33588c61decaa74dfbacba413950509706259c8
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Fri Nov 26 08:18:37 2021 +0100
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Fri Nov 26 15:23:19 2021 +0100

    -Werror,-Wreorder-ctor
    
    Change-Id: Ie0a1036f57bc1449dda324b99fd83170969958a5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125856
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <[email protected]>
    (cherry picked from commit c1d0b2ec10ee10127409a6e085b26fdc86d426ad)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125838

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)

Reply via email to