From 4ed696943fc2e511c0c1d8b77bfdb64e1a457d42 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 22 Nov 2006 15:06:48 +0000 Subject: [PATCH] Remove unneeded code in wxWindowDC::DoGetPartialTextExtents git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dcclient.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index 6022888051..1fdc8aab53 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -1809,7 +1809,6 @@ bool wxWindowDC::DoGetPartialTextExtents(const wxString& text, { pango_layout_iter_get_cluster_extents(iter, NULL, &pos); int position = PANGO_PIXELS(pos.x); - size_t curIndex = pango_layout_iter_get_index(iter); widths[i++] = position; } while (i < len)