]> git.lyx.org Git - lyx.git/blobdiff - src/tabular.C
do not reconfigure when not needed
[lyx.git] / src / tabular.C
index d43d6b58925a0aa26add94e890ed183b5e5d4e4f..f07b3e48c28aa6831c3f0feb19cef526996bd1dc 100644 (file)
@@ -37,7 +37,6 @@
 using lyx::support::ltrim;
 using lyx::support::prefixIs;
 using lyx::support::rtrim;
-using lyx::support::strToInt;
 using lyx::support::suffixIs;
 
 using boost::shared_ptr;
@@ -249,7 +248,7 @@ bool getTokenValue(string const & str, char const * token, int & num)
        num = 0;
        if (!getTokenValue(str, token, tmp))
                return false;
-       num = strToInt(tmp);
+       num = convert<int>(tmp);
        return true;
 }