summaryrefslogtreecommitdiff
path: root/vcl/unx/generic
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r--vcl/unx/generic/gdi/cairotextrender.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/vcl/unx/generic/gdi/cairotextrender.cxx b/vcl/unx/generic/gdi/cairotextrender.cxx
index 1c4efb9064d4..664c8dbea9cd 100644
--- a/vcl/unx/generic/gdi/cairotextrender.cxx
+++ b/vcl/unx/generic/gdi/cairotextrender.cxx
@@ -361,21 +361,8 @@ void CairoTextRender::DrawTextLayout(const GenericSalLayout& rLayout, const SalG
cairo_matrix_scale(&m, nWidth, nHeight);
if (nGlyphRotation)
- {
cairo_matrix_rotate(&m, toRadian(Degree10(nGlyphRotation * 900)));
- cairo_matrix_t em_square;
- cairo_matrix_init_identity(&em_square);
- cairo_get_matrix(cr, &em_square);
-
- cairo_matrix_scale(&em_square, aFace->units_per_EM,
- aFace->units_per_EM);
- cairo_set_matrix(cr, &em_square);
-
- cairo_matrix_init_identity(&em_square);
- cairo_set_matrix(cr, &em_square);
- }
-
if (rInstance.NeedsArtificialItalic())
{
cairo_matrix_t shear;