Code

remove deprecation warnings
authorishmal <ishmal@users.sourceforge.net>
Thu, 1 Jun 2006 05:04:57 +0000 (05:04 +0000)
committerishmal <ishmal@users.sourceforge.net>
Thu, 1 Jun 2006 05:04:57 +0000 (05:04 +0000)
src/dialogs/export.cpp

index 7cbeee41f4fd07dbdb4433dd1681f2402cfe0d53..3b1943c4ff23234f0a02c42227a1b667f57e8f11 100644 (file)
@@ -780,8 +780,8 @@ sp_export_area_toggled (GtkToggleButton *tb, GtkObject *base)
                 }
             case SELECTION_PAGE:
                 bbox = NR::Rect(NR::Point(0.0, 0.0), 
-                                NR::Point(sp_document_width(doc)),
-                                          sp_document_height(doc));
+                                NR::Point(sp_document_width(doc), sp_document_height(doc))
+                                );
 
                 // std::cout << "Using selection: PAGE" << std::endl;
                 key = SELECTION_PAGE;