summaryrefslogtreecommitdiff
path: root/src/lib/VSDSVGGenerator.cpp
diff options
context:
space:
mode:
authorTibby Lickle <tibbylickle@gmail.com>2011-06-22 14:08:52 +0100
committerTibby Lickle <tibbylickle@gmail.com>2011-06-22 14:08:52 +0100
commit983d3ca62f25f1a7c34f6ae908457189c7ad5e59 (patch)
tree059efdcceb1da6bfec161c6bc13f8d5e77091c07 /src/lib/VSDSVGGenerator.cpp
parent2902d6430a906ce961996d56369811ed1811a053 (diff)
Fix svg gradient stop element
Diffstat (limited to 'src/lib/VSDSVGGenerator.cpp')
-rw-r--r--src/lib/VSDSVGGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/VSDSVGGenerator.cpp b/src/lib/VSDSVGGenerator.cpp
index 8cd78e2..2841765 100644
--- a/src/lib/VSDSVGGenerator.cpp
+++ b/src/lib/VSDSVGGenerator.cpp
@@ -90,7 +90,7 @@ void libvisio::VSDSVGGenerator::setStyle(const ::WPXPropertyList &propList, cons
m_outputSink << " <svg:linearGradient id=\"grad" << m_gradientIndex++ << "\" >\n";
for(unsigned c = 0; c < m_gradient.count(); c++)
{
- m_outputSink << " <stop offset=\"" << m_gradient[c]["svg:offset"]->getStr().cstr() << "\"";
+ m_outputSink << " <svg:stop offset=\"" << m_gradient[c]["svg:offset"]->getStr().cstr() << "\"";
m_outputSink << " stop-color=\"" << m_gradient[c]["svg:stop-color"]->getStr().cstr() << "\"";
m_outputSink << " stop-opacity=\"" << m_gradient[c]["svg:stop-opacity"]->getStr().cstr() << "\" />" << std::endl;