diff options
| author | Thomas Holder <thomas@thomas-holder.de> | 2019-11-03 19:02:46 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2019-11-03 19:59:20 +0000 |
| commit | 7308f9e1e734fc54661b3d79c4ff8e8fbeb84867 (patch) | |
| tree | 1c4287533b3727dcc74b6bd85de7f3834bedab7c /src/graphlayout.cpp | |
| parent | make SP_ATTRIBUTE_IS_CSS a function (diff) | |
| download | inkscape-7308f9e1e734fc54661b3d79c4ff8e8fbeb84867.tar.gz inkscape-7308f9e1e734fc54661b3d79c4ff8e8fbeb84867.zip | |
refactor: Eliminate SPIString::value_default
- eliminate value_default
- make value private (-> _value)
- add value() method
Diffstat (limited to 'src/graphlayout.cpp')
| -rw-r--r-- | src/graphlayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphlayout.cpp b/src/graphlayout.cpp index b04e5f703..003767861 100644 --- a/src/graphlayout.cpp +++ b/src/graphlayout.cpp @@ -180,7 +180,7 @@ void graphlayout(std::vector<SPItem*> const & items) { //cout << "Edge: (" << u <<","<<v<<")"<<endl; es.emplace_back(u, v); if (conn->style->marker_end.set) { - if (directed && strcmp(conn->style->marker_end.value, "none")) { + if (directed && strcmp(conn->style->marker_end.value(), "none")) { constraints.push_back(new SeparationConstraint(YDIM, v, u, ideal_connector_length * directed_edge_height_modifier)); } |
