summaryrefslogtreecommitdiffstats
path: root/src/connector-context.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2012-01-17 22:30:48 +0000
committerJohan Engelen <goejendaagh@zonnet.nl>2012-01-17 22:30:48 +0000
commitd97dcb5d03fa3e063c597788fa7f2c766ae5916e (patch)
tree471f294f631eca82850a50a6f281b71cc26f195b /src/connector-context.cpp
parentdocumentation (diff)
downloadinkscape-d97dcb5d03fa3e063c597788fa7f2c766ae5916e.tar.gz
inkscape-d97dcb5d03fa3e063c597788fa7f2c766ae5916e.zip
add underscores to some member variables.
add some const stuff (bzr r10900)
Diffstat (limited to 'src/connector-context.cpp')
-rw-r--r--src/connector-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connector-context.cpp b/src/connector-context.cpp
index 395cf04ea..34210bbcd 100644
--- a/src/connector-context.cpp
+++ b/src/connector-context.cpp
@@ -1897,7 +1897,7 @@ void cc_remove_connection_point(SPConnectorContext* cc)
static bool cc_item_is_shape(SPItem *item)
{
if (SP_IS_PATH(item)) {
- SPCurve *curve = (SP_SHAPE(item))->curve;
+ const SPCurve * curve = (SP_SHAPE(item))->_curve;
if ( curve && !(curve->is_closed()) ) {
// Open paths are connectors.
return false;