diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2013-10-26 19:51:00 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2013-10-26 19:51:00 +0000 |
| commit | 50aa29bc2941044f64ec02a7ecfaec105067eb59 (patch) | |
| tree | 88e4f98698830fab8eed0b5c9967a19c0a0d5b15 | |
| parent | Fix memleak in reference counting introduced in r12532. (diff) | |
| download | inkscape-50aa29bc2941044f64ec02a7ecfaec105067eb59.tar.gz inkscape-50aa29bc2941044f64ec02a7ecfaec105067eb59.zip | |
fix crash
Fixed bugs:
- https://launchpad.net/bugs/1244793
(bzr r12728)
| -rw-r--r-- | src/extension/internal/wmf-inout.cpp | 2 |
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(); |
