diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-03-24 18:07:32 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-03-24 20:12:46 +0100 |
commit | 531863e28b626f4af04f999295f79ecc347c2165 (patch) | |
tree | 837c6cbecc59fee96b651a069ab0d1a7deeb331c | |
parent | f08bbb5648c06a387e69f3a0e0a6a9a1eda7fc37 (diff) |
vcl: fix startup of a sanitized soffice.bin
warn: sal.osl:19830:19830:sal/osl/unx/module.cxx:162: dlopen(instdir/program/libvclplug_genlo.so, 257): instdir/program/libvclplug_genlo.so: undefined symbol: _ZTI20FreetypeFontInstance
This was originally done in commit
781c4402f1a8c64f87bc81e866bc444b9ed97948 (make some classes
module-private, 2019-11-02), but it did not cause problems till
recently.
I guess this started to be a problem when the gen vcl plug started to
interact with freetype directly in the skia case.
Change-Id: I05ef0ff4446de32deccff6d7ee1fde991e5a0256
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90995
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
-rw-r--r-- | vcl/inc/unx/freetype_glyphcache.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/unx/freetype_glyphcache.hxx b/vcl/inc/unx/freetype_glyphcache.hxx index c3b6342b61e7..29554b60e244 100644 --- a/vcl/inc/unx/freetype_glyphcache.hxx +++ b/vcl/inc/unx/freetype_glyphcache.hxx @@ -102,7 +102,7 @@ public: virtual sal_IntPtr GetFontId() const override { return mpFreetypeFontInfo->GetFontId(); } }; -class FreetypeFontInstance : public LogicalFontInstance +class SAL_DLLPUBLIC_RTTI FreetypeFontInstance : public LogicalFontInstance { friend rtl::Reference<LogicalFontInstance> FreetypeFontFace::CreateFontInstance(const FontSelectPattern&) const; |