diff options
author | Korrawit Pruegsanusak <detective.conan.1412@gmail.com> | 2016-03-23 13:26:05 +0700 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-04-08 10:17:51 +0000 |
commit | f9ddd6e317a7bfd662516d197c3caea976aef3b3 (patch) | |
tree | a66978abe81ce9fd25791a29a0439a13ab2ac534 /vcl | |
parent | cd089979607566bc26259ff9edb079842aabdd4e (diff) |
Change #include <cairo-svg.h> to <cairo.h>
Since we don't need cairo's svg feature, and we build internal cairo
with --disable-svg. Also remove commented-out codes which use svg.
Change-Id: I5a8e8c672588bb6eca28696f21221770972ec3d3
Reviewed-on: https://gerrit.libreoffice.org/23456
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/generic/gdi/openglx11cairotextrender.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/unx/generic/gdi/openglx11cairotextrender.cxx b/vcl/unx/generic/gdi/openglx11cairotextrender.cxx index 0c8ac0d5ac1f..2710b6a0ed10 100644 --- a/vcl/unx/generic/gdi/openglx11cairotextrender.cxx +++ b/vcl/unx/generic/gdi/openglx11cairotextrender.cxx @@ -13,7 +13,7 @@ #include "salbmp.hxx" #include <vcl/salbtype.hxx> -#include <cairo-svg.h> +#include <cairo.h> OpenGLX11CairoTextRender::OpenGLX11CairoTextRender(X11SalGraphics& rParent) : X11CairoTextRender(rParent) @@ -22,9 +22,6 @@ OpenGLX11CairoTextRender::OpenGLX11CairoTextRender(X11SalGraphics& rParent) cairo_t* OpenGLX11CairoTextRender::getCairoContext() { - // static size_t id = 0; - // OString aFileName = OString("/tmp/libo_logs/text_rendering") + OString::number(id++) + OString(".svg"); - // cairo_surface_t* surface = cairo_svg_surface_create(aFileName.getStr(), GetWidth(), GetHeight()); cairo_surface_t* surface = nullptr; OpenGLSalGraphicsImpl *pImpl = dynamic_cast< OpenGLSalGraphicsImpl* >(mrParent.GetImpl()); if( pImpl ) |