summaryrefslogtreecommitdiffstats
path: root/src/conn-avoid-ref.cpp
diff options
context:
space:
mode:
authorAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-14 18:10:35 +0000
committerAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-14 18:10:35 +0000
commitcde0571b44ec5b108907bda85971c49f3ceb1de8 (patch)
tree88f75682989d77787d297498b9bda9568a5e53f5 /src/conn-avoid-ref.cpp
parentSPObject c++ification finalized along with the beginning of XML Privatisation... (diff)
downloadinkscape-cde0571b44ec5b108907bda85971c49f3ceb1de8.tar.gz
inkscape-cde0571b44ec5b108907bda85971c49f3ceb1de8.zip
SPShape c++ified to the extent it was possible and more changes done for XML privatisation. Major changes yet to come.
(bzr r9546.1.7)
Diffstat (limited to 'src/conn-avoid-ref.cpp')
-rw-r--r--src/conn-avoid-ref.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn-avoid-ref.cpp b/src/conn-avoid-ref.cpp
index ed2aceb82..fd37fceed 100644
--- a/src/conn-avoid-ref.cpp
+++ b/src/conn-avoid-ref.cpp
@@ -484,7 +484,7 @@ static std::vector<Geom::Point> approxItemWithPoints(SPItem const *item, const G
}
else if (SP_IS_SHAPE(item))
{
- SPCurve* item_curve = sp_shape_get_curve(SP_SHAPE(item));
+ SPCurve* item_curve = SP_SHAPE(item)->getCurve();
// make sure it has an associated curve
if (item_curve)
{