From ee19b9f92bd6039afa73c81389ae19881036feb8 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Tue, 16 Dec 2008 19:28:29 +0000 Subject: [PATCH] fix compile after rev 20377 --- src/extension/internal/emf-win32-print.cpp | 2 +- src/ui/dialog/filedialogimpl-win32.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extension/internal/emf-win32-print.cpp b/src/extension/internal/emf-win32-print.cpp index 8c92fc320..4da7819ee 100644 --- a/src/extension/internal/emf-win32-print.cpp +++ b/src/extension/internal/emf-win32-print.cpp @@ -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; diff --git a/src/ui/dialog/filedialogimpl-win32.cpp b/src/ui/dialog/filedialogimpl-win32.cpp index d91af244b..5b2acc1de 100644 --- a/src/ui/dialog/filedialogimpl-win32.cpp +++ b/src/ui/dialog/filedialogimpl-win32.cpp @@ -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(); -- 2.30.2