Code

Fix behavior when loading a document
[inkscape.git] / src / desktop.cpp
index c45cf80044c3c238fbd0387c367cdb6742f4a761..1953ae2a6e8db730bfff77ff61f52a8f398ba6dd 100644 (file)
@@ -1543,7 +1543,6 @@ SPDesktop::onDocumentURISet (gchar const* uri)
 void
 SPDesktop::onDocumentResized (gdouble width, gdouble height)
 {
-    _doc2dt[5] = height;
     sp_canvas_item_affine_absolute (SP_CANVAS_ITEM (drawing), _doc2dt);
     Geom::Rect const a(Geom::Point(0, 0), Geom::Point(width, height));
     SP_CTRLRECT(page)->setRectangle(a);