summaryrefslogtreecommitdiffstats
path: root/src/sp-mask.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-03-01 01:42:13 +0000
committerjabiertxof <info@marker.es>2016-03-01 01:42:13 +0000
commit145f815859ba21f45e67d315e52f360f029355c7 (patch)
tree54448bc60a94415f63f7b6f46296c8d5e2ac58a6 /src/sp-mask.cpp
parentImprove fill rule and add mass option (diff)
parenttype in commit r14664 (diff)
downloadinkscape-145f815859ba21f45e67d315e52f360f029355c7.tar.gz
inkscape-145f815859ba21f45e67d315e52f360f029355c7.zip
update to trunk
(bzr r14648.1.3)
Diffstat (limited to 'src/sp-mask.cpp')
-rw-r--r--src/sp-mask.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sp-mask.cpp b/src/sp-mask.cpp
index 7b9ab11c3..3537c7bac 100644
--- a/src/sp-mask.cpp
+++ b/src/sp-mask.cpp
@@ -139,12 +139,12 @@ void SPMask::update(SPCtx* ctx, unsigned int flags) {
flags &= SP_OBJECT_MODIFIED_CASCADE;
std::vector<SPObject *> children = this->childList(false);
- for (std::vector<SPObject *>::const_iterator child = children.begin();child != children.end();child++) {
+ for (std::vector<SPObject *>::const_iterator child = children.begin();child != children.end();++child) {
sp_object_ref(*child);
}
- for (std::vector<SPObject *>::const_iterator child = children.begin();child != children.end();child++) {
+ for (std::vector<SPObject *>::const_iterator child = children.begin();child != children.end();++child) {
if (flags || ((*child)->uflags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_CHILD_MODIFIED_FLAG))) {
(*child)->updateDisplay(ctx, flags);
}
@@ -173,11 +173,11 @@ void SPMask::modified(unsigned int flags) {
flags &= SP_OBJECT_MODIFIED_CASCADE;
std::vector<SPObject *> children = this->childList(false);
- for (std::vector<SPObject *>::const_iterator child = children.begin();child != children.end();child++) {
+ for (std::vector<SPObject *>::const_iterator child = children.begin();child != children.end();++child) {
sp_object_ref(*child);
}
- for (std::vector<SPObject *>::const_iterator child = children.begin();child != children.end();child++) {
+ for (std::vector<SPObject *>::const_iterator child = children.begin();child != children.end();++child) {
if (flags || ((*child)->mflags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_CHILD_MODIFIED_FLAG))) {
(*child)->emitModified(flags);
}