summaryrefslogtreecommitdiffstats
path: root/src/text-context.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2011-07-16 07:42:39 +0000
committerJon A. Cruz <jon@joncruz.org>2011-07-16 07:42:39 +0000
commit2be2cf32db0668dc64512a98f6c2394152bd10cc (patch)
tree8e25abb2f884e06692d861e6a1471440d6554946 /src/text-context.cpp
parentadded WITH_GNOME_VFS as an option for cmake (diff)
downloadinkscape-2be2cf32db0668dc64512a98f6c2394152bd10cc.tar.gz
inkscape-2be2cf32db0668dc64512a98f6c2394152bd10cc.zip
Cleanup of oudated/redundant SP_ITEM() macro use.
(bzr r10461)
Diffstat (limited to 'src/text-context.cpp')
-rw-r--r--src/text-context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text-context.cpp b/src/text-context.cpp
index a27ad3ee4..9edf96b26 100644
--- a/src/text-context.cpp
+++ b/src/text-context.cpp
@@ -1593,8 +1593,8 @@ sp_text_context_update_cursor(SPTextContext *tc, bool scroll_to_see)
if (tc->text) {
Geom::Point p0, p1;
sp_te_get_cursor_coords(tc->text, tc->text_sel_end, p0, p1);
- Geom::Point const d0 = p0 * SP_ITEM(tc->text)->i2d_affine();
- Geom::Point const d1 = p1 * SP_ITEM(tc->text)->i2d_affine();
+ Geom::Point const d0 = p0 * tc->text->i2d_affine();
+ Geom::Point const d1 = p1 * tc->text->i2d_affine();
// scroll to show cursor
if (scroll_to_see) {