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.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sp-flowtext.cpp b/src/sp-flowtext.cpp
index 3413999a9..ab545919f 100644
--- a/src/sp-flowtext.cpp
+++ b/src/sp-flowtext.cpp
@@ -361,7 +361,10 @@ sp_flowtext_print(SPItem *item, SPPrintContext *ctx)
if (!bbox_maybe) {
return;
}
- bbox = NRRect(from_2geom(*bbox_maybe));
+ bbox.x0 = bbox_maybe->min()[Geom::X];
+ bbox.y0 = bbox_maybe->min()[Geom::Y];
+ bbox.x1 = bbox_maybe->max()[Geom::X];
+ bbox.y1 = bbox_maybe->max()[Geom::Y];
NRRect dbox;
dbox.x0 = 0.0;