]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetvspace.C
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / insetvspace.C
index 789b75c585f5be64795cb03464d492cd411bea1d..72e152d0181c33847f7901cda5148fcb2c62e231 100644 (file)
@@ -88,7 +88,7 @@ void InsetVSpace::read(Buffer const &, LyXLex & lex)
        BOOST_ASSERT(lex.isOK());
        string vsp;
        lex >> vsp;
-       if (lex.isOK())
+       if (lex)
                space_ = VSpace(vsp);
 
        string end_token;
@@ -257,7 +257,7 @@ void InsetVSpaceMailer::string2params(string const & in, VSpace & vspace)
 
        string vsp;
        lex >> vsp;
-       if (lex.isOK())
+       if (lex)
                vspace = VSpace(vsp);
 }