diff options
| author | Markus Engel <markus.engel@tum.de> | 2012-10-06 21:56:27 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2012-10-06 21:56:27 +0000 |
| commit | 99cb30e28d4ee193f39e23464abbd7630cac8a2d (patch) | |
| tree | 493559e086a9e6cf1e252e79765053be55277825 /src/sp-root.cpp | |
| parent | Removed old calls to set_shape and update_patheffect. (diff) | |
| download | inkscape-99cb30e28d4ee193f39e23464abbd7630cac8a2d.tar.gz inkscape-99cb30e28d4ee193f39e23464abbd7630cac8a2d.zip | |
Added virtual pad to SPFlowtext; removed old calls to virtual SPItem methods.
(bzr r11608.1.46)
Diffstat (limited to 'src/sp-root.cpp')
| -rw-r--r-- | src/sp-root.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/sp-root.cpp b/src/sp-root.cpp index 2b1ab3884..96b9f4ef9 100644 --- a/src/sp-root.cpp +++ b/src/sp-root.cpp @@ -92,8 +92,8 @@ static void sp_root_class_init(SPRootClass *klass) sp_object_class->modified = sp_root_modified; sp_object_class->write = sp_root_write; - sp_item_class->show = sp_root_show; - sp_item_class->print = sp_root_print; +// sp_item_class->show = sp_root_show; +// sp_item_class->print = sp_root_print; } CRoot::CRoot(SPRoot* root) : CGroup(root) { @@ -673,9 +673,11 @@ void CRoot::onPrint(SPPrintContext* ctx) { sp_print_bind(ctx, root->c2p, 1.0); - if (((SPItemClass *) (parent_class))->print) { - ((SPItemClass *) (parent_class))->print(item, ctx); - } +// if (((SPItemClass *) (parent_class))->print) { +// ((SPItemClass *) (parent_class))->print(item, ctx); +// } + // CPPIFY: correct one? + CGroup::onPrint(ctx); sp_print_release(ctx); } |
