summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-04-04 16:53:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2023-04-04 21:41:53 +0200
commit3e1ee22e8ac6d2217547bf9a591e38af5c6da440 (patch)
tree6edc3b55d857f5e57e3fd5ce1469ff8cf0e78564 /vcl/unx
parent73d0723c466e63c247d37ec8b9fa0bd8db8766b5 (diff)
cairo_font_extents is unused
since: commit 6c9948d80aaa1d4827ccf741d900093abe7a973e Date: Mon May 3 06:51:50 2021 +0800 vcl: adjust cairo text renderer for vertical writing Change-Id: I853b5f3b8c8979468d6c72617b7991f4c7d509d1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150026 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/gdi/cairotextrender.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/unx/generic/gdi/cairotextrender.cxx b/vcl/unx/generic/gdi/cairotextrender.cxx
index 93020e8f0884..1c4efb9064d4 100644
--- a/vcl/unx/generic/gdi/cairotextrender.cxx
+++ b/vcl/unx/generic/gdi/cairotextrender.cxx
@@ -372,9 +372,6 @@ void CairoTextRender::DrawTextLayout(const GenericSalLayout& rLayout, const SalG
aFace->units_per_EM);
cairo_set_matrix(cr, &em_square);
- cairo_font_extents_t font_extents;
- cairo_font_extents(cr, &font_extents);
-
cairo_matrix_init_identity(&em_square);
cairo_set_matrix(cr, &em_square);
}