]> git.lyx.org Git - features.git/blobdiff - src/BufferParams.cpp
Add button to stop processing
[features.git] / src / BufferParams.cpp
index 74270bba5c68c7583f98e680040c5d5a2c204e4b..6bb90d0be0b1a8d323d8946254757fab67b8bac6 100644 (file)
@@ -2277,7 +2277,7 @@ bool BufferParams::writeLaTeX(otexstream & os, LaTeXFeatures & features,
                if (!tmppreamble.str.empty())
                        atlyxpreamble << "\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% "
                                         "LyX specific LaTeX commands.\n"
-                                     << move(tmppreamble)
+                                     << std::move(tmppreamble)
                                      << '\n';
        }
        // the text class specific preamble
@@ -3840,5 +3840,11 @@ string const BufferParams::bibFileEncoding(string const & file) const
 }
 
 
+BufferParams const & defaultBufferParams()
+{
+       static BufferParams default_params;
+       return default_params;
+}
+
 
 } // namespace lyx