From 89f799d73d59da228c8d57593b02a87594909cdd Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Sun, 13 Jan 2013 00:49:26 -0800 Subject: Minor warning and dead code cleanup. (bzr r12018) --- src/text-chemistry.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/text-chemistry.cpp') 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 @@ -40,18 +40,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) { -- cgit v1.2.3