diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2013-06-21 20:44:07 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2013-06-21 20:44:07 +0000 |
| commit | 80174b60033b8439eb06256f7ce9a51a26c6f7ed (patch) | |
| tree | 1563f7a436a7f25013f902648e6c3a71bf2abefe /src/sp-string.cpp | |
| parent | Translations. Finnish translation fix by Ville Pätsi (see Bug #752457) and t... (diff) | |
| download | inkscape-80174b60033b8439eb06256f7ce9a51a26c6f7ed.tar.gz inkscape-80174b60033b8439eb06256f7ce9a51a26c6f7ed.zip | |
cppcheck
(bzr r12382)
Diffstat (limited to 'src/sp-string.cpp')
| -rw-r--r-- | src/sp-string.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sp-string.cpp b/src/sp-string.cpp index 2fe84ac6a..457c248bc 100644 --- a/src/sp-string.cpp +++ b/src/sp-string.cpp @@ -132,10 +132,10 @@ sp_string_update(SPObject *object, SPCtx *ctx, unsigned flags) if (((SPObjectClass *) sp_string_parent_class)->update) ((SPObjectClass *) sp_string_parent_class)->update(object, ctx, flags); - if (flags & (SP_OBJECT_STYLE_MODIFIED_FLAG | SP_OBJECT_MODIFIED_FLAG)) { - /* Parent style or we ourselves changed, so recalculate */ - flags &= ~SP_OBJECT_USER_MODIFIED_FLAG_B; // won't be "just a transformation" anymore, we're going to recompute "x" and "y" attributes - } + // if (flags & (SP_OBJECT_STYLE_MODIFIED_FLAG | SP_OBJECT_MODIFIED_FLAG)) { + // /* Parent style or we ourselves changed, so recalculate */ + // flags &= ~SP_OBJECT_USER_MODIFIED_FLAG_B; // won't be "just a transformation" anymore, we're going to recompute "x" and "y" attributes + // } } |
