summaryrefslogtreecommitdiffstats
path: root/src/sp-object.cpp
diff options
context:
space:
mode:
authorAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-01 10:06:56 +0000
committerAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-01 10:06:56 +0000
commit121815791be2d24cb745663520b111ee914fbc09 (patch)
tree487c6c27a31e9adbd81ad42f5a8eafef31547426 /src/sp-object.cpp
parentThis is the first c++ification commit from me. It handles sp-line, sp-polylin... (diff)
downloadinkscape-121815791be2d24cb745663520b111ee914fbc09.tar.gz
inkscape-121815791be2d24cb745663520b111ee914fbc09.zip
C++fied SPDocument added
(bzr r9546.1.2)
Diffstat (limited to 'src/sp-object.cpp')
-rw-r--r--src/sp-object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp
index 420c7b4a6..08d13b2cc 100644
--- a/src/sp-object.cpp
+++ b/src/sp-object.cpp
@@ -1312,7 +1312,7 @@ SPObject::requestDisplayUpdate(unsigned int flags)
if (parent) {
parent->requestDisplayUpdate(SP_OBJECT_CHILD_MODIFIED_FLAG);
} else {
- sp_document_request_modified(SP_OBJECT_DOCUMENT(this));
+ SP_OBJECT_DOCUMENT(this)->request_modified();
}
}
}
@@ -1396,7 +1396,7 @@ SPObject::requestModified(unsigned int flags)
if (parent) {
parent->requestModified(SP_OBJECT_CHILD_MODIFIED_FLAG);
} else {
- sp_document_request_modified(SP_OBJECT_DOCUMENT(this));
+ SP_OBJECT_DOCUMENT(this)->request_modified();
}
}
}