diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2013-01-13 08:49:26 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2013-01-13 08:49:26 +0000 |
| commit | 89f799d73d59da228c8d57593b02a87594909cdd (patch) | |
| tree | 32a9352f607d551dcd9a9ed6b4ce7cac15aabfa9 /src/text-chemistry.cpp | |
| parent | Restored i18n markup fo names of extensions (diff) | |
| download | inkscape-89f799d73d59da228c8d57593b02a87594909cdd.tar.gz inkscape-89f799d73d59da228c8d57593b02a87594909cdd.zip | |
Minor warning and dead code cleanup.
(bzr r12018)
Diffstat (limited to 'src/text-chemistry.cpp')
| -rw-r--r-- | src/text-chemistry.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/text-chemistry.cpp b/src/text-chemistry.cpp index 2046784f1..8a3fede0f 100644 --- a/src/text-chemistry.cpp +++ b/src/text-chemistry.cpp @@ -41,18 +41,6 @@ using Inkscape::DocumentUndo; static SPItem * -text_in_selection(Inkscape::Selection *selection) -{ - for (GSList *items = (GSList *) selection->itemList(); - items != NULL; - items = items->next) { - if (SP_IS_TEXT(items->data)) - return ((SPItem *) items->data); - } - return NULL; -} - -static SPItem * flowtext_in_selection(Inkscape::Selection *selection) { for (GSList *items = (GSList *) selection->itemList(); |
