[Libreoffice-commits] core.git: vcl/inc
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Tue Mar 24 19:13:19 UTC 2020
vcl/inc/unx/freetype_glyphcache.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 531863e28b626f4af04f999295f79ecc347c2165
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Tue Mar 24 18:07:32 2020 +0100
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Tue Mar 24 20:12:46 2020 +0100
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 at collabora.co.uk>
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
Tested-by: Jenkins
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;
More information about the Libreoffice-commits
mailing list