[uim-commit] r1086 - trunk/xim

ekato at freedesktop.org ekato at freedesktop.org
Mon Aug 1 00:54:59 EST 2005


Author: ekato
Date: 2005-07-31 07:54:56 -0700 (Sun, 31 Jul 2005)
New Revision: 1086

Modified:
   trunk/xim/convdisp.cpp
Log:
* xim/convdisp.cpp (class ConvdispOv) : Remove unused
  calc_ce_width().
(ConvdispOv::calc_ce_width) : Removed.


Modified: trunk/xim/convdisp.cpp
===================================================================
--- trunk/xim/convdisp.cpp	2005-07-31 13:34:32 UTC (rev 1085)
+++ trunk/xim/convdisp.cpp	2005-07-31 14:54:56 UTC (rev 1086)
@@ -273,7 +273,6 @@
     void make_ce_array();
     void draw_preedit();
     void do_draw_preedit();
-    int calc_ce_width(int b, int e);
 #ifdef FLASHPLAYER_WORKAROUND
     int get_ce_font_height(char_ent *ce, int len);
     int revised_spot_y;
@@ -1425,15 +1424,6 @@
     }
 }
 
-int ConvdispOv::calc_ce_width(int b, int e)
-{
-    int i, w = 0;
-    for (i = b; i < e; i++) {
-	w += m_ce[i].width;
-    }
-    return w;
-}
-
 #ifdef FLASHPLAYER_WORKAROUND
 int ConvdispOv::get_ce_font_height(char_ent *ce, int len)
 {



More information about the uim-commit mailing list