]> git.lyx.org Git - features.git/blobdiff - src/lyxfunc.C
Add a bunch of c_str() for string stream uses; remove lyxfunc symbol-insert.
[features.git] / src / lyxfunc.C
index 1e4c7d1d64057af9d40f76061f92eaf6b710a7e3..9a78e888604732f03d25e223304cf6a4d5372a8c 100644 (file)
@@ -2051,7 +2051,7 @@ string const LyXFunc::Dispatch(int ac,
                        cur_value = par->spacing.getValue();
                }
                
-               istringstream istr(argument);
+               istringstream istr(argument.c_str());
 
                string tmp;
                istr >> tmp;
@@ -2350,7 +2350,7 @@ string const LyXFunc::Dispatch(int ac,
 
        case LFUN_GOTO_PARAGRAPH:
        {
-                istringstream istr(argument);
+                istringstream istr(argument.c_str());
 
                int id;
                istr >> id;