diff options
| author | Markus Engel <markus.engel@tum.de> | 2012-08-19 01:18:49 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2012-08-19 01:18:49 +0000 |
| commit | 37e4ac1b79668657362806503a1a0079b534c365 (patch) | |
| tree | 920517b8164ecd929511b433d9327eca3185fc65 /src | |
| parent | Added "virtual pad" to SPSymbol. (diff) | |
| download | inkscape-37e4ac1b79668657362806503a1a0079b534c365.tar.gz inkscape-37e4ac1b79668657362806503a1a0079b534c365.zip | |
As all subclasses of SPLPEItem now have "virtual pads" with correct inheritance, the virtual function call to "onUpdatePatheffect" was converted to C++ style.
(bzr r11608.1.22)
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp-lpe-item.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp index f43e5cc07..15243c651 100644 --- a/src/sp-lpe-item.cpp +++ b/src/sp-lpe-item.cpp @@ -453,9 +453,7 @@ sp_lpe_item_update_patheffect (SPLPEItem *lpeitem, bool wholetree, bool write) top = lpeitem; } - if (SP_LPE_ITEM_CLASS (G_OBJECT_GET_CLASS (top))->update_patheffect) { - SP_LPE_ITEM_CLASS (G_OBJECT_GET_CLASS (top))->update_patheffect (top, write); - } + top->clpeitem->onUpdatePatheffect(write); } /** |
