diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2018-05-08 22:21:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-05-09 12:13:33 +0200 |
commit | b0be0d419576c4ba2ad0f904592879a7736cbfaf (patch) | |
tree | f3f04a0c676bf2b9841ddefcd24fea1bb26f5fe9 /svtools/CppunitTest_svtools_graphic.mk | |
parent | 7aeff452bfd308d122c319ed5135bd98e90590f8 (diff) |
Blind attempt to fix UBSAN error in FreetypeFont
The only place that calls FreetypeFontInstance::SetFreetypeFont() is
FreetypeFont::FreetypeFont() calling it with “this”:
static_cast<FreetypeFontInstance*>(mpFontInstance)->SetFreetypeFont( this );
So I don’t think we need to manage that FreetypeFont pointer, as it it
is guaranteed to be valid as long as this FreetypeFontInstance is valid.
Too many font classes and it is really hard to reason what is doing
what…
Change-Id: Iee50d2ecc4084116c13a2d2464594d6cffdcfcfe
Reviewed-on: https://gerrit.libreoffice.org/54008
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svtools/CppunitTest_svtools_graphic.mk')
0 files changed, 0 insertions, 0 deletions