diff options
| author | Matthew Petroff <matthew@mpetroff.net> | 2013-08-28 01:26:29 +0000 |
|---|---|---|
| committer | Matthew Petroff <matthew@mpetroff.net> | 2013-08-28 01:26:29 +0000 |
| commit | 7dc2527975e5af02aa0b737d9a67e70bda62bfae (patch) | |
| tree | 37256fbdbb1baeb7dd78ae1a9fbe530f27f82c21 /src | |
| parent | Remove no longer used file "share/ui/units.txt". (diff) | |
| download | inkscape-7dc2527975e5af02aa0b737d9a67e70bda62bfae.tar.gz inkscape-7dc2527975e5af02aa0b737d9a67e70bda62bfae.zip | |
Fix Windows build.
(bzr r12475.1.5)
Diffstat (limited to 'src')
| -rw-r--r-- | src/extension/internal/emf-win32-print.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extension/internal/emf-win32-print.cpp b/src/extension/internal/emf-win32-print.cpp index 621954f68..467260a92 100644 --- a/src/extension/internal/emf-win32-print.cpp +++ b/src/extension/internal/emf-win32-print.cpp @@ -113,8 +113,8 @@ unsigned int PrintEmfWin32::begin (Inkscape::Extension::Print *mod, SPDocument * WCHAR *unicode_uri = (WCHAR *) unicode_fn; // width and height in px - _width = doc->getWidth(); - _height = doc->getHeight(); + _width = doc->getWidth().value("px"); + _height = doc->getHeight().value("px"); bool pageBoundingBox; pageBoundingBox = mod->get_param_bool("pageBoundingBox"); @@ -204,7 +204,7 @@ unsigned int PrintEmfWin32::begin (Inkscape::Extension::Print *mod, SPDocument * g_free(local_fn); g_free(unicode_fn); - m_tr_stack.push( Geom::Scale(1, -1) * Geom::Translate(0, doc->getHeight())); /// @fixme hardcoded doc2dt transform + m_tr_stack.push( Geom::Scale(1, -1) * Geom::Translate(0, doc->getHeight().value("px"))); /// @fixme hardcoded doc2dt transform return 0; } |
