summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Mathog <mathog@caltech.edu>2014-03-19 18:08:48 +0000
committer~suv <suv-sf@users.sourceforge.net>2014-03-19 18:08:48 +0000
commit6f05665abf781f0fb1c1baf5f6ac6662abf6ecfe (patch)
tree2808da7bf83f31a50614e6610a00526ef91ce0cb /src
parentFix for Bug #1291546 (Linking color profile from Document properties dialog c... (diff)
downloadinkscape-6f05665abf781f0fb1c1baf5f6ac6662abf6ecfe.tar.gz
inkscape-6f05665abf781f0fb1c1baf5f6ac6662abf6ecfe.zip
EMF import: fix clipPath definition: move transform attribute into the <rect> element (bug #1294713)
Fixed bugs: - https://launchpad.net/bugs/1294713 (bzr r13166)
Diffstat (limited to 'src')
-rw-r--r--src/extension/internal/emf-inout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/internal/emf-inout.cpp b/src/extension/internal/emf-inout.cpp
index bbbce46e7..a4d204472 100644
--- a/src/extension/internal/emf-inout.cpp
+++ b/src/extension/internal/emf-inout.cpp
@@ -2163,9 +2163,9 @@ std::cout << "BEFORE DRAW"
tmp_rectangle << "\n x=\"" << dx << "\" ";
tmp_rectangle << "\n y=\"" << dy << "\" ";
tmp_rectangle << "\n width=\"" << dw << "\" ";
- tmp_rectangle << "\n height=\"" << dh << "\" />";
+ tmp_rectangle << "\n height=\"" << dh << "\" ";
tmp_rectangle << "\n transform=" << current_matrix(d, dx, dy, 1); // calculate appropriate offset
- tmp_rectangle << "\n</clipPath>";
+ tmp_rectangle << "/>\n</clipPath>";
*(d->outdef) += tmp_rectangle.str().c_str();
*(d->path) = "";