Blob Blame History Raw
diff -NaurEbBH sim/xsl.cpp sim.orig/xsl.cpp
--- sim/xsl.cpp	2012-08-14 10:59:04.733334517 -0600
+++ sim.orig/xsl.cpp	2006-12-18 11:49:50.000000000 -0700
@@ -122,11 +122,8 @@
     xmlOutputBufferPtr buf = xmlAllocOutputBuffer(NULL);
     xsltSaveResultTo(buf, res, d->styleSheet);
     xmlFreeDoc(res);
-#ifdef  LIBXML2_NEW_BUFFER
-    QString result = QString::fromUtf8((char*)(xmlOutputBufferGetContent(buf)));
-#else
+
     QString result = QString::fromUtf8((char*)(buf->buffer->content));
-#endif
     xmlOutputBufferClose(buf);;
 
     return result;