summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
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);
}