diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-10-04 01:32:26 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-10-04 01:32:26 +0000 |
| commit | 380f71793aba455f86eae2c75532b24dc613e71d (patch) | |
| tree | a516ab2c65aea18caba79f97664f28a157a4e5f8 /src/guide-snapper.cpp | |
| parent | Allow one style entry per unique CSS style for each family. (diff) | |
| download | inkscape-380f71793aba455f86eae2c75532b24dc613e71d.tar.gz inkscape-380f71793aba455f86eae2c75532b24dc613e71d.zip | |
Refactor SPGuide to use more C++
(bzr r13341.1.241)
Diffstat (limited to 'src/guide-snapper.cpp')
| -rw-r--r-- | src/guide-snapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guide-snapper.cpp b/src/guide-snapper.cpp index 20c95459d..960caed67 100644 --- a/src/guide-snapper.cpp +++ b/src/guide-snapper.cpp @@ -48,7 +48,7 @@ Inkscape::GuideSnapper::LineList Inkscape::GuideSnapper::_getSnapLines(Geom::Poi for (GSList const *l = _snapmanager->getNamedView()->guides; l != NULL; l = l->next) { SPGuide const *g = SP_GUIDE(l->data); if (g != guide_to_ignore) { - s.push_back(std::make_pair(g->normal_to_line, g->point_on_line)); + s.push_back(std::pair<Geom::Point, Geom::Point>(g->getNormal(), g->getPoint())); } } |
