summaryrefslogtreecommitdiffstats
path: root/src/box3d-side.cpp
diff options
context:
space:
mode:
authorAbhishek Sharma public <spyzerdotabhishek0at-signgmaildotcom>2010-07-20 10:44:23 +0000
committerAbhishek Sharma public <spyzerdotabhishek0at-signgmaildotcom>2010-07-20 10:44:23 +0000
commit88fc01afa8ea80d5105961d9103cc8f33582e7fb (patch)
tree92fe8202ab6ac05b62eaca4a659a3bea23cff0ab /src/box3d-side.cpp
parentI didn't see it but there was an important file missing namely document-undo.h (diff)
downloadinkscape-88fc01afa8ea80d5105961d9103cc8f33582e7fb.tar.gz
inkscape-88fc01afa8ea80d5105961d9103cc8f33582e7fb.zip
More on c++ification and some XML privatisation
(bzr r9546.1.10)
Diffstat (limited to 'src/box3d-side.cpp')
-rw-r--r--src/box3d-side.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/box3d-side.cpp b/src/box3d-side.cpp
index d6f1f6b42..6838008bb 100644
--- a/src/box3d-side.cpp
+++ b/src/box3d-side.cpp
@@ -346,8 +346,10 @@ box3d_side_convert_to_path(Box3DSide *side) {
Inkscape::XML::Document *xml_doc = sp_document_repr_doc(doc);
Inkscape::XML::Node *repr = xml_doc->createElement("svg:path");
- repr->setAttribute("d", SP_OBJECT_REPR(side)->attribute("d"));
- repr->setAttribute("style", SP_OBJECT_REPR(side)->attribute("style"));
+ //repr->setAttribute("d", SP_OBJECT_REPR(side)->attribute("d"));
+ repr->setAttribute("d", side->getAttribute("d"));
+ //repr->setAttribute("style", SP_OBJECT_REPR(side)->attribute("style"));
+ repr->setAttribute("style", side->getAttribute("style"));
return repr;
}