summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2015-01-20 17:58:40 +1100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-01-22 01:44:47 +0000
commit9ea6793a5b765aefc1a8e82c06f225305dd9c14f (patch)
treeb56d98a91b6106f6c7e264323ecce7166555caf6 /vcl/unx
parent9fd38a52e1663addfc6f0581543a066592d3570d (diff)
vcl: cleanup of OpenGLX11CairoTextRender::drawSurface
Change-Id: I8288d330f17e08314ccff378c8c00ef5ed82cb64 Reviewed-on: https://gerrit.libreoffice.org/14064 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/gdi/openglx11cairotextrender.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/vcl/unx/generic/gdi/openglx11cairotextrender.cxx b/vcl/unx/generic/gdi/openglx11cairotextrender.cxx
index 7b4e6643eb1a..64bf196ef54c 100644
--- a/vcl/unx/generic/gdi/openglx11cairotextrender.cxx
+++ b/vcl/unx/generic/gdi/openglx11cairotextrender.cxx
@@ -69,14 +69,6 @@ void OpenGLX11CairoTextRender::drawSurface(cairo_t* cr)
SalTwoRect aRect(0, 0, nWidth, nHeight,
aClipRect.Left(), aClipRect.Top(), nWidth, nHeight);
- aRect.mnSrcX = 0;
- aRect.mnSrcY = 0;
- aRect.mnSrcWidth = nWidth;
- aRect.mnSrcHeight = nHeight;
- aRect.mnDestX = aClipRect.Left();
- aRect.mnDestY = aClipRect.Top();
- aRect.mnDestWidth = nWidth;
- aRect.mnDestHeight = nHeight;
// Cairo surface data is ARGB with premultiplied alpha and is Y-inverted
OpenGLTexture aTexture( nWidth, nHeight, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, pSrc );