X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferParams.cpp;h=6bb90d0be0b1a8d323d8946254757fab67b8bac6;hb=869247b6;hp=74270bba5c68c7583f98e680040c5d5a2c204e4b;hpb=337cc97174e63dfbcdfdf9dd063b425882399b64;p=features.git diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index 74270bba5c..6bb90d0be0 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -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