summaryrefslogtreecommitdiff
path: root/vcl/qt5
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@aliftype.com>2022-10-01 08:21:58 +0200
committerخالد حسني <khaled@aliftype.com>2022-10-01 13:09:48 +0200
commit112d07027c4484dd571519911596d11eae897524 (patch)
tree0b33c5f4970ad3e2dced137581e3cf6d46931930 /vcl/qt5
parentc107d08460938270cbc2a32a89d995fc0ae8ebea (diff)
vcl: Use PhysicalFontFace::GetRawFontData() for font embedding
Change-Id: I6f7c4508f7cef022eaf65a998cb242078d3771c6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140826 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@aliftype.com>
Diffstat (limited to 'vcl/qt5')
-rw-r--r--vcl/qt5/QtGraphics_Text.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/vcl/qt5/QtGraphics_Text.cxx b/vcl/qt5/QtGraphics_Text.cxx
index 42a1037943dc..18790086bbf3 100644
--- a/vcl/qt5/QtGraphics_Text.cxx
+++ b/vcl/qt5/QtGraphics_Text.cxx
@@ -136,14 +136,6 @@ bool QtGraphics::AddTempDevFont(vcl::font::PhysicalFontCollection*, const OUStri
return false;
}
-const void* QtGraphics::GetEmbedFontData(const vcl::font::PhysicalFontFace*,
- tools::Long* /*pDataLen*/)
-{
- return nullptr;
-}
-
-void QtGraphics::FreeEmbedFontData(const void* /*pData*/, tools::Long /*nDataLen*/) {}
-
namespace
{
class QtCommonSalLayout : public GenericSalLayout