diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2011-07-16 07:42:39 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2011-07-16 07:42:39 +0000 |
| commit | 2be2cf32db0668dc64512a98f6c2394152bd10cc (patch) | |
| tree | 8e25abb2f884e06692d861e6a1471440d6554946 /src/helper/png-write.cpp | |
| parent | added WITH_GNOME_VFS as an option for cmake (diff) | |
| download | inkscape-2be2cf32db0668dc64512a98f6c2394152bd10cc.tar.gz inkscape-2be2cf32db0668dc64512a98f6c2394152bd10cc.zip | |
Cleanup of oudated/redundant SP_ITEM() macro use.
(bzr r10461)
Diffstat (limited to 'src/helper/png-write.cpp')
| -rw-r--r-- | src/helper/png-write.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helper/png-write.cpp b/src/helper/png-write.cpp index 5a20ac363..a23c8fd43 100644 --- a/src/helper/png-write.cpp +++ b/src/helper/png-write.cpp @@ -466,8 +466,8 @@ sp_export_png_file(SPDocument *doc, gchar const *filename, nr_arena_set_renderoffscreen(arena); unsigned const dkey = SPItem::display_key_new(1); - /* Create ArenaItems and set transform */ - ebp.root = SP_ITEM(doc->getRoot())->invoke_show(arena, dkey, SP_ITEM_SHOW_DISPLAY); + // Create ArenaItems and set transform + ebp.root = doc->getRoot()->invoke_show(arena, dkey, SP_ITEM_SHOW_DISPLAY); nr_arena_item_set_transform(NR_ARENA_ITEM(ebp.root), affine); // We show all and then hide all items we don't want, instead of showing only requested items, @@ -490,7 +490,7 @@ sp_export_png_file(SPDocument *doc, gchar const *filename, } // Hide items, this releases arenaitem - SP_ITEM(doc->getRoot())->invoke_hide(dkey); + doc->getRoot()->invoke_hide(dkey); /* Free arena */ nr_object_unref((NRObject *) arena); |
