summaryrefslogtreecommitdiffstats
path: root/src/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.cpp b/src/file.cpp
index d38efb304..b2f53b967 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -990,7 +990,7 @@ file_import(SPDocument *in_doc, const Glib::ustring &uri,
bool const saved_pref = prefs->getBool("options.transform", "pattern", true);
prefs->setBool("options.transform", "pattern", true);
sp_document_ensure_up_to_date(sp_desktop_document(desktop));
- boost::optional<Geom::Rect> sel_bbox = selection->bounds_2geom();
+ boost::optional<Geom::Rect> sel_bbox = selection->bounds();
if (sel_bbox) {
Geom::Point m( desktop->point() - sel_bbox->midpoint() );
sp_selection_move_relative(selection, m);