summaryrefslogtreecommitdiffstats
path: root/src/sp-shape.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-04-24 12:53:30 +0000
committertavmjong-free <tavmjong@free.fr>2014-04-24 12:53:30 +0000
commit20452bbd40fe1d93b2093cb5dea8e4cb8ae967d3 (patch)
treece0ca88db9385121a88ce92d2b407ebb7e9734c7 /src/sp-shape.cpp
parentClean up of style code, removal of SPFontStyle. Step 2. (diff)
downloadinkscape-20452bbd40fe1d93b2093cb5dea8e4cb8ae967d3.tar.gz
inkscape-20452bbd40fe1d93b2093cb5dea8e4cb8ae967d3.zip
Clean up of style code: refactor marker properties. Step 3.
(bzr r13301)
Diffstat (limited to '')
-rw-r--r--src/sp-shape.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp
index b3a331cba..61d35e6ff 100644
--- a/src/sp-shape.cpp
+++ b/src/sp-shape.cpp
@@ -77,7 +77,7 @@ void SPShape::build(SPDocument *document, Inkscape::XML::Node *repr) {
SPLPEItem::build(document, repr);
for (int i = 0 ; i < SP_MARKER_LOC_QTY ; i++) {
- sp_shape_set_marker (this, i, this->style->marker[i].value);
+ sp_shape_set_marker (this, i, this->style->marker_ptrs[i]->value);
}
}
@@ -136,7 +136,7 @@ void SPShape::update(SPCtx* ctx, guint flags) {
* match the style.
*/
for (int i = 0 ; i < SP_MARKER_LOC_QTY ; i++) {
- sp_shape_set_marker (this, i, this->style->marker[i].value);
+ sp_shape_set_marker (this, i, this->style->marker_ptrs[i]->value);
}
if (flags & (SP_OBJECT_STYLE_MODIFIED_FLAG | SP_OBJECT_VIEWPORT_MODIFIED_FLAG)) {
@@ -723,7 +723,7 @@ Inkscape::DrawingItem* SPShape::show(Inkscape::Drawing &drawing, unsigned int /*
* match the style.
*/
for (int i = 0 ; i < SP_MARKER_LOC_QTY ; i++) {
- sp_shape_set_marker (this, i, this->style->marker[i].value);
+ sp_shape_set_marker (this, i, this->style->marker_ptrs[i]->value);
}
if (this->hasMarkers ()) {