diff --git a/src/sp-conn-end.cpp b/src/sp-conn-end.cpp
index 40017912fc969afe0ef82d7c1c18ff7b6d39a7e6..947a88d714afc55e3c02e744d34472afe4c5890a 100644 (file)
--- a/src/sp-conn-end.cpp
+++ b/src/sp-conn-end.cpp
NR::Matrix h2i2anc[2];
NR::Rect h2bbox_icoordsys[2];
NR::Point last_seg_endPt[2] = {
NR::Matrix h2i2anc[2];
NR::Rect h2bbox_icoordsys[2];
NR::Point last_seg_endPt[2] = {
- path->curve->second_point(),
- path->curve->penultimate_point()
+ *(path->curve->second_point()),
+ *(path->curve->penultimate_point())
};
for (unsigned h = 0; h < 2; ++h) {
boost::optional<NR::Rect> bbox = h2attItem[h]->getBounds(NR::identity());
};
for (unsigned h = 0; h < 2; ++h) {
boost::optional<NR::Rect> bbox = h2attItem[h]->getBounds(NR::identity());
NR::Point last_seg_pt;
if (h2attItem[0] != NULL) {
other_endpt = path->curve->last_point();
NR::Point last_seg_pt;
if (h2attItem[0] != NULL) {
other_endpt = path->curve->last_point();
- last_seg_pt = path->curve->second_point();
+ last_seg_pt = *(path->curve->second_point());
ind = 0;
}
else {
other_endpt = path->curve->first_point();
ind = 0;
}
else {
other_endpt = path->curve->first_point();
- last_seg_pt = path->curve->penultimate_point();
+ last_seg_pt = *(path->curve->penultimate_point());
ind = 1;
}
NR::Point h2endPt_icoordsys[2];
ind = 1;
}
NR::Point h2endPt_icoordsys[2];