Code

fix compile after rev 20377
authorjohanengelen <johanengelen@users.sourceforge.net>
Tue, 16 Dec 2008 19:28:29 +0000 (19:28 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Tue, 16 Dec 2008 19:28:29 +0000 (19:28 +0000)
src/extension/internal/emf-win32-print.cpp
src/ui/dialog/filedialogimpl-win32.cpp

index 8c92fc3209f8d3531093cf8f7a2ac02dbd085235..4da7819ee0042319c82292135a94aaf008db6538 100644 (file)
@@ -157,7 +157,7 @@ PrintEmfWin32::begin (Inkscape::Extension::Print *mod, SPDocument *doc)
         d.y1 = _height;
     } else {
         SPItem* doc_item = SP_ITEM(sp_document_root(doc));
-        sp_item_invoke_bbox(doc_item, &d, sp_item_i2r_affine(doc_item), TRUE);
+        sp_item_invoke_bbox(doc_item, &d, sp_item_i2d_affine(doc_item), TRUE);
     }
 
     d.x0 *= IN_PER_PX;
index d91af244b1167bce64dafa25b192f8ce81a3065f..5b2acc1decbb591df29425d49782d61812fd8e95 100644 (file)
@@ -867,7 +867,7 @@ bool FileOpenDialogImplWin32::set_svg_preview()
     Geom::OptRect maybeArea(area);
     sp_document_ensure_up_to_date (svgDoc);
     sp_item_invoke_bbox((SPItem *) svgDoc->root, maybeArea,
-        sp_item_i2r_affine((SPItem *)(svgDoc->root)), TRUE);
+        sp_item_i2d_affine((SPItem *)(svgDoc->root)), TRUE);
 
     NRArena *const arena = NRArena::create();