summaryrefslogtreecommitdiffstats
path: root/src/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/export.cpp2
-rw-r--r--src/dialogs/spellcheck.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp
index 77447b658..c839c376b 100644
--- a/src/dialogs/export.cpp
+++ b/src/dialogs/export.cpp
@@ -1130,7 +1130,7 @@ sp_export_export_clicked (GtkButton */*button*/, GtkObject *base)
}
Geom::OptRect area;
- item->invoke_bbox( area, item->i2d_affine(), TRUE );
+ item->invoke_bbox( area, item->i2dt_affine(), TRUE );
if (area) {
gint width = (gint) (area->width() * dpi / PX_PER_IN + 0.5);
gint height = (gint) (area->height() * dpi / PX_PER_IN + 0.5);
diff --git a/src/dialogs/spellcheck.cpp b/src/dialogs/spellcheck.cpp
index 5de0bc6fe..d0de6ad20 100644
--- a/src/dialogs/spellcheck.cpp
+++ b/src/dialogs/spellcheck.cpp
@@ -243,8 +243,8 @@ gint compare_text_bboxes (gconstpointer a, gconstpointer b)
SPItem *i1 = SP_ITEM(a);
SPItem *i2 = SP_ITEM(b);
- Geom::OptRect bbox1 = i1->getBounds(i1->i2d_affine());
- Geom::OptRect bbox2 = i2->getBounds(i2->i2d_affine());
+ Geom::OptRect bbox1 = i1->getBounds(i1->i2dt_affine());
+ Geom::OptRect bbox2 = i2->getBounds(i2->i2dt_affine());
if (!bbox1 || !bbox2) {
return 0;
}
@@ -577,7 +577,7 @@ spellcheck_next_word()
// draw rect
std::vector<Geom::Point> points =
- _layout->createSelectionShape(_begin_w, _end_w, _text->i2d_affine());
+ _layout->createSelectionShape(_begin_w, _end_w, _text->i2dt_affine());
Geom::Point tl, br;
tl = br = points.front();
for (unsigned i = 0 ; i < points.size() ; i ++) {