diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2016-06-01 19:13:32 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2016-06-01 19:13:32 +0000 |
| commit | de91fb305ef9afbead53d70421db60f3fb7d8a4c (patch) | |
| tree | 9692258376e403ae7a5e175bc78d2c1159a44f39 /src/extension/internal/emf-print.cpp | |
| parent | Replace two instances of getSVGUnit() by getDocumentScale(). (diff) | |
| download | inkscape-de91fb305ef9afbead53d70421db60f3fb7d8a4c.tar.gz inkscape-de91fb305ef9afbead53d70421db60f3fb7d8a4c.zip | |
Remove last use of getSVGUnit() and remove all remnants of this abomination.
(bzr r14939)
Diffstat (limited to 'src/extension/internal/emf-print.cpp')
| -rw-r--r-- | src/extension/internal/emf-print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/internal/emf-print.cpp b/src/extension/internal/emf-print.cpp index 1c85182ae..9f3b5475f 100644 --- a/src/extension/internal/emf-print.cpp +++ b/src/extension/internal/emf-print.cpp @@ -144,7 +144,7 @@ unsigned int PrintEmf::begin(Inkscape::Extension::Print *mod, SPDocument *doc) // width and height in px _width = doc->getWidth().value("px"); _height = doc->getHeight().value("px"); - _doc_unit_scale = Inkscape::Util::Quantity::convert(1, &doc->getSVGUnit(), "px"); + _doc_unit_scale = doc->getDocumentScale()[Geom::X]; // initialize a few global variables hbrush = hbrushOld = hpen = 0; |
