How about this change?
Index: lengthcommon.C
===================================================================
--- lengthcommon.C (Revision 14449)
+++ lengthcommon.C (Arbeitskopie)
@@ -46,18 +46,9 @@
char const * const unit_name_gui[] = {
N_("sp"), N_("pt"), N_("bp"), N_("dd"), N_("mm"), N_("pc"),
N_("cc"), N_("cm"), N_("in"), N_("ex"), N_("em"), N_("mu"),
- N_("text%"), N_("col%"), N_("page%"), N_("line%"),
- N_("theight%"), N_("pheight%"), "" };
+ N_("textwidth%"), N_("columnwidth%"), N_("pagewidth%"),
N_("linewidth%"),
+ N_("textheight%"), N_("pageheight%") };
- // this one maybe better ???? but there can be problems with
- // xforms (Herbert)
-// N_("textwidth%"), N_("columnwidth%"), N_("pagewidth%"),
N_("linewidth%"),
-// N_("textheight%"), N_("pageheight%") };
-
- // or altenative this ones
-// N_("twidth%"), N_("cwidth%"), N_("pwidth%"), N_("lwidth%"),
-// N_("theight%"), N_("pheight%") };
-
LyXLength::UNIT unitFromString(string const & data)
{
int i = 0;