diff options
| author | MenTaLguY <mental@rydia.net> | 2008-06-11 15:56:11 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2008-06-11 15:56:11 +0000 |
| commit | 7a9b77df373b64df154cda680152eb70a49d68b5 (patch) | |
| tree | 273802df24aad16284dee069bcc00084513d7bad /src/text-editing.cpp | |
| parent | We were using wrong gtk locale directory. Gtk's own translations were missing. (diff) | |
| download | inkscape-7a9b77df373b64df154cda680152eb70a49d68b5.tar.gz inkscape-7a9b77df373b64df154cda680152eb70a49d68b5.zip | |
plumb XML::Documents in everywhere
(bzr r5884)
Diffstat (limited to 'src/text-editing.cpp')
| -rw-r--r-- | src/text-editing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text-editing.cpp b/src/text-editing.cpp index 4b115f374..a225c1a00 100644 --- a/src/text-editing.cpp +++ b/src/text-editing.cpp @@ -398,7 +398,7 @@ Inkscape::Text::Layout::iterator sp_te_insert_line (SPItem *item, Inkscape::Text // TODO // I think the only case to put here is arbitrary gaps, which nobody uses yet } - item->updateRepr(SP_OBJECT_REPR(item),SP_OBJECT_WRITE_EXT); + item->updateRepr(); unsigned char_index = layout->iteratorToCharIndex(position); te_update_layout_now(item); item->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG); @@ -520,7 +520,7 @@ sp_te_insert(SPItem *item, Inkscape::Text::Layout::iterator const &position, gch } } - item->updateRepr(SP_OBJECT_REPR(item),SP_OBJECT_WRITE_EXT); + item->updateRepr(); unsigned char_index = layout->iteratorToCharIndex(position); te_update_layout_now(item); item->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG); |
