summaryrefslogtreecommitdiffstats
path: root/src/sp-flowtext.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2011-06-23 22:22:07 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2011-06-23 22:22:07 +0000
commitab143333746e25648b253f13c0539adff089b1b6 (patch)
tree5a025875e0e107b07b13970374afbd78cb021af7 /src/sp-flowtext.cpp
parentUpdate 2Geom to pull in integer rectangle class (diff)
downloadinkscape-ab143333746e25648b253f13c0539adff089b1b6.tar.gz
inkscape-ab143333746e25648b253f13c0539adff089b1b6.zip
Remove more of libnr
(bzr r10347.1.2)
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 d7bc0053f..9db0d29b2 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;