[Libreoffice-commits] core.git: vcl/unx

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Sep 13 09:53:31 UTC 2018


 vcl/unx/generic/fontmanager/fontmanager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c5846c5af1fff1543a160743dd2728c76f901e8b
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Sep 13 10:52:24 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Sep 13 10:52:24 2018 +0100

    fix crash on startup under X
    
    since...
    
    commit 240974561685ff44c1abf5157a043d0fde4654d1
    Date:   Wed Sep 12 15:12:39 2018 +0200
    
        loplugin:simplifyconstruct in ucbhelper..vcl
    
    Change-Id: I154893825f5dfa9f2bbc4a0c200df6340e7743cf

diff --git a/vcl/unx/generic/fontmanager/fontmanager.cxx b/vcl/unx/generic/fontmanager/fontmanager.cxx
index ab7c274d58a9..336bb815e3d2 100644
--- a/vcl/unx/generic/fontmanager/fontmanager.cxx
+++ b/vcl/unx/generic/fontmanager/fontmanager.cxx
@@ -112,7 +112,7 @@ PrintFontManager::PrintFont::PrintFont()
 }
 
 GenericUnixSalData::GenericUnixSalData(GenericUnixSalDataType const t, SalInstance *const pInstance)
-    : m_eType(t)
+    : m_eType(t), m_pDisplay(nullptr)
 {
     m_pInstance = pInstance; SetSalData(this);
 }


More information about the Libreoffice-commits mailing list