diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-12 15:12:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-12 16:12:18 +0200 |
commit | 240974561685ff44c1abf5157a043d0fde4654d1 (patch) | |
tree | 26f2bca7a3c1e34c4656906ae6d7e5cad260623a /vcl/unx/generic/fontmanager | |
parent | 1334ee97787aa7cea399fa7f1633aea84ff8047d (diff) |
loplugin:simplifyconstruct in ucbhelper..vcl
Change-Id: Id435bb3289dcfd9a7aeca6a661e249085958cb7c
Reviewed-on: https://gerrit.libreoffice.org/60392
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx/generic/fontmanager')
-rw-r--r-- | vcl/unx/generic/fontmanager/fontconfig.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/generic/fontmanager/fontmanager.cxx | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx index 3c49bb9d00b5..ca40710aa0bd 100644 --- a/vcl/unx/generic/fontmanager/fontconfig.cxx +++ b/vcl/unx/generic/fontmanager/fontconfig.cxx @@ -93,9 +93,7 @@ private: }; FontCfgWrapper::FontCfgWrapper() - : - m_pOutlineSet( nullptr ), - m_pLanguageTag( nullptr ) + : m_pOutlineSet( nullptr ) { FcInit(); } diff --git a/vcl/unx/generic/fontmanager/fontmanager.cxx b/vcl/unx/generic/fontmanager/fontmanager.cxx index e301ab701d2b..ab7c274d58a9 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_pDisplay(nullptr), m_pPrintFontManager(nullptr) + : m_eType(t) { m_pInstance = pInstance; SetSalData(this); } |