diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2016-11-29 13:39:37 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2016-11-29 22:51:26 +0000 |
commit | 2e0ab512592e2e134faf9612a293fb8fdd0527d0 (patch) | |
tree | f302654d0f3b23da6603bf4ad7b8ef7905cd9be7 /vcl/unx/generic/gdi/cairotextrender.cxx | |
parent | Dead code (diff) | |
download | core-2e0ab512592e2e134faf9612a293fb8fdd0527d0.tar.gz core-2e0ab512592e2e134faf9612a293fb8fdd0527d0.zip |
Strip down GetEmbedFontData to what is really used
The only remaining user is EmbeddedFontsHelper, and it just needs the
raw font data.
Change-Id: Ia15c59158b5c9e44d0936463553303a3c8b6e0f5
Reviewed-on: https://gerrit.libreoffice.org/31374
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'vcl/unx/generic/gdi/cairotextrender.cxx')
-rw-r--r-- | vcl/unx/generic/gdi/cairotextrender.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/gdi/cairotextrender.cxx b/vcl/unx/generic/gdi/cairotextrender.cxx index 86075307bbe5..de3dc4b9d28b 100644 --- a/vcl/unx/generic/gdi/cairotextrender.cxx +++ b/vcl/unx/generic/gdi/cairotextrender.cxx @@ -536,7 +536,7 @@ bool CairoTextRender::CreateFontSubset( return bSuccess; } -const void* CairoTextRender::GetEmbedFontData( const PhysicalFontFace* pFont, const sal_Ucs* pUnicodes, sal_Int32* pWidths, size_t nLen, FontSubsetInfo& rInfo, long* pDataLen ) +const void* CairoTextRender::GetEmbedFontData(const PhysicalFontFace* pFont, long* pDataLen) { // in this context the pFont->GetFontId() is a valid PSP // font since they are the only ones left after the PDF @@ -544,7 +544,7 @@ const void* CairoTextRender::GetEmbedFontData( const PhysicalFontFace* pFont, co // which this method was created). The correct way would // be to have the GlyphCache search for the PhysicalFontFace pFont psp::fontID aFont = pFont->GetFontId(); - return GenPspGraphics::DoGetEmbedFontData( aFont, pUnicodes, pWidths, nLen, rInfo, pDataLen ); + return GenPspGraphics::DoGetEmbedFontData(aFont, pDataLen); } void CairoTextRender::FreeEmbedFontData( const void* pData, long nLen ) |