]> git.lyx.org Git - lyx.git/blobdiff - src/tabular-old.C
More fixes to the autocollapsing of paragraphs.
[lyx.git] / src / tabular-old.C
index 4a014d35015780a0bc86c5412743c518ef6642fe..9c7c0cac7f80892abe8c4d2c30fdc386140f1bb2 100644 (file)
@@ -125,6 +125,15 @@ bool getTokenValue(string const & str, char const * token, bool & flag)
 }
 
 
+bool getTokenValue(string const & str, const char * token, LyXLength & len)
+{
+       string tmp;
+       if (!getTokenValue(str, token, tmp))
+               return false;
+       return isValidLength(tmp, &len);
+}    
+
+
 inline
 void l_getline(istream & is, string & str)
 {