From 1e3ef71825fa122062b626937848539cbb62f0ca Mon Sep 17 00:00:00 2001 From: "Joshua L. Blocher" Date: Sun, 28 Dec 2008 22:44:35 +0000 Subject: More NR ==> Geom changes (bzr r7032) --- src/sp-tspan.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sp-tspan.cpp') diff --git a/src/sp-tspan.cpp b/src/sp-tspan.cpp index 2496fc6e0..9da95df90 100644 --- a/src/sp-tspan.cpp +++ b/src/sp-tspan.cpp @@ -579,7 +579,7 @@ sp_textpath_to_text(SPObject *tp) NRRect bbox; sp_item_invoke_bbox(SP_ITEM(text), &bbox, sp_item_i2doc_affine(SP_ITEM(text)), TRUE); - NR::Point xy(bbox.x0, bbox.y0); + Geom::Point xy(bbox.x0, bbox.y0); // make a list of textpath children GSList *tp_reprs = NULL; @@ -602,9 +602,9 @@ sp_textpath_to_text(SPObject *tp) // set x/y on text /* fixme: Yuck, is this really the right test? */ - if (xy[NR::X] != 1e18 && xy[NR::Y] != 1e18) { - sp_repr_set_svg_double(SP_OBJECT_REPR(text), "x", xy[NR::X]); - sp_repr_set_svg_double(SP_OBJECT_REPR(text), "y", xy[NR::Y]); + if (xy[Geom::X] != 1e18 && xy[Geom::Y] != 1e18) { + sp_repr_set_svg_double(SP_OBJECT_REPR(text), "x", xy[Geom::X]); + sp_repr_set_svg_double(SP_OBJECT_REPR(text), "y", xy[Geom::Y]); } } -- cgit v1.2.3