]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_cb.C
remove noload/don't typeset
[lyx.git] / src / lyx_cb.C
index 27e5fede653cb8269a538a4aa41ac9edddb55b51..30f2d89da14f0d98808660482f405574260099a5 100644 (file)
@@ -317,7 +317,7 @@ void AutoSave(BufferView * bv)
 // create new file with template
 // SERVERCMD !
 //
-Buffer * NewLyxFile(string const & filename)
+Buffer * NewFile(string const & filename)
 {
        // Split argument by :
        string name;
@@ -428,7 +428,7 @@ string getContentsOfAsciiFile(BufferView * bv, string const & f, bool asParagrap
 
 void MenuInsertLabel(BufferView * bv, string const & arg)
 {
-       string label(arg);
+       string label = arg;
        bv->owner()->prohibitInput();
        if (label.empty()) {
                Paragraph * par = bv->getLyXText()->cursor.par();