[dia] svg: remove second setting of xmlns



commit 920bad702d0e1606b0df7693ad63f9c98d0f91c2
Author: Hans Breuer <hans breuer org>
Date:   Sat Sep 7 14:47:17 2013 +0200

    svg: remove second setting of xmlns

 plug-ins/svg/render_svg.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/svg/render_svg.c b/plug-ins/svg/render_svg.c
index 551f716..4dd9e19 100644
--- a/plug-ins/svg/render_svg.c
+++ b/plug-ins/svg/render_svg.c
@@ -268,7 +268,6 @@ new_svg_renderer(DiagramData *data, const char *filename)
             (int)ceil((extent->bottom - extent->top) * renderer->scale));
   xmlSetProp(renderer->root, (const xmlChar *)"viewBox", (xmlChar *) buf);
   xmlSetProp(renderer->root,(const xmlChar *)"xmlns", (const xmlChar *)"http://www.w3.org/2000/svg";);
-  xmlSetProp(renderer->root,(const xmlChar *)"xmlns", (const xmlChar *)"http://www.w3.org/2000/svg";);
   xmlSetProp(renderer->root,(const xmlChar *)"xmlns:xlink", (const xmlChar *)"http://www.w3.org/1999/xlink";);
 
   return renderer;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]