summaryrefslogtreecommitdiffstats
path: root/src/extension
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-10-26 22:31:12 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-10-26 22:31:12 +0000
commitbfb70c0a66051c665b8729916eceedb3cd7f51f8 (patch)
tree3bc3e44d7b83526900175b5e86bbc1afeeab86f4 /src/extension
parentUpdate to trunk (diff)
parentAdded some consts. (diff)
downloadinkscape-bfb70c0a66051c665b8729916eceedb3cd7f51f8.tar.gz
inkscape-bfb70c0a66051c665b8729916eceedb3cd7f51f8.zip
Update to trunk
(bzr r11950.1.190)
Diffstat (limited to 'src/extension')
-rw-r--r--src/extension/internal/wmf-inout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/internal/wmf-inout.cpp b/src/extension/internal/wmf-inout.cpp
index 2e55dcb1e..2c6fd9e52 100644
--- a/src/extension/internal/wmf-inout.cpp
+++ b/src/extension/internal/wmf-inout.cpp
@@ -3200,7 +3200,7 @@ Wmf::open( Inkscape::Extension::Input * /*mod*/, const gchar *uri )
// Scale and translate objects
double scale = Inkscape::Util::Quantity::convert(1, "px", doc->getWidth().unit);
ShapeEditor::blockSetItem(true);
- doc->getRoot()->scaleChildItemsRec(Geom::Scale(scale), Geom::Point(0, SP_ACTIVE_DOCUMENT->getHeight().value("px")));
+ doc->getRoot()->scaleChildItemsRec(Geom::Scale(scale), Geom::Point(0, doc->getHeight().value("px")));
ShapeEditor::blockSetItem(false);
doc->ensureUpToDate();