diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-09-22 11:20:01 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-09-22 20:42:23 +0200 |
commit | ca8a4c81a4194cfaa526bd8071a2243aad0f3461 (patch) | |
tree | cb22c6d1bbdfa9dff376d85a612ad9ab49db200b /vcl/inc/unx/fontmanager.hxx | |
parent | 893c08b59abf31ee0ae50c4ac030b006c43c0976 (diff) |
vcl: [loplugin:badstatics] pManager
Move this to class GenericUnixSalData, which is deleted on shutdown.
Change-Id: I6366c12f255bfeca737b22259c3f58ffa2c6222c
Reviewed-on: https://gerrit.libreoffice.org/42632
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl/inc/unx/fontmanager.hxx')
-rw-r--r-- | vcl/inc/unx/fontmanager.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/inc/unx/fontmanager.hxx b/vcl/inc/unx/fontmanager.hxx index 0dd0cc87b412..47ea4348bdcc 100644 --- a/vcl/inc/unx/fontmanager.hxx +++ b/vcl/inc/unx/fontmanager.hxx @@ -45,6 +45,7 @@ class FontSubsetInfo; class FontConfigFontOptions; class FontSelectPattern; +class GenericUnixSalData; namespace psp { class PPDParser; @@ -200,8 +201,9 @@ class VCL_PLUGIN_PUBLIC PrintFontManager DECL_LINK( autoInstallFontLangSupport, Timer*, void ); #endif PrintFontManager(); - ~PrintFontManager(); public: + ~PrintFontManager(); + friend class ::GenericUnixSalData; static PrintFontManager& get(); // one instance only // There may be multiple font ids for font collections |