summaryrefslogtreecommitdiffstats
path: root/src/sp-flowtext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-flowtext.cpp')
-rw-r--r--src/sp-flowtext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-flowtext.cpp b/src/sp-flowtext.cpp
index ec60251fc..dcaa59ea0 100644
--- a/src/sp-flowtext.cpp
+++ b/src/sp-flowtext.cpp
@@ -352,11 +352,11 @@ sp_flowtext_print(SPItem *item, SPPrintContext *ctx)
NRRect pbox;
sp_item_invoke_bbox(item, &pbox, Geom::identity(), TRUE);
NRRect bbox;
- boost::optional<NR::Rect> bbox_maybe = sp_item_bbox_desktop(item);
+ boost::optional<Geom::Rect> bbox_maybe = sp_item_bbox_desktop(item);
if (!bbox_maybe) {
return;
}
- bbox = NRRect(*bbox_maybe);
+ bbox = NRRect(from_2geom(*bbox_maybe));
NRRect dbox;
dbox.x0 = 0.0;