]> git.lyx.org Git - lyx.git/blobdiff - src/bufferparams.C
changelogs
[lyx.git] / src / bufferparams.C
index 45742e2543983be6e894a313db75e111927a8765..2b5b05455f49f3da5ac2a036dd8a49a300048a59 100644 (file)
@@ -38,6 +38,7 @@
 #include "frontends/Alert.h"
 
 #include "support/lyxalgo.h" // for lyx::count
+#include "support/tostr.h"
 #include "support/translator.h"
 
 #include <boost/array.hpp>
@@ -609,10 +610,10 @@ void BufferParams::writeFile(ostream & os) const
 
        os << "\\papersize " << string_papersize[papersize2]
           << "\n\\paperpackage " << string_paperpackages[paperpackage]
-          << "\n\\use_geometry " << use_geometry
+          << "\n\\use_geometry " << tostr(use_geometry)
           << "\n\\use_amsmath " << use_amsmath
           << "\n\\cite_engine " << citeenginetranslator().find(cite_engine)
-          << "\n\\use_bibtopic " << use_bibtopic
+          << "\n\\use_bibtopic " << tostr(use_bibtopic)
           << "\n\\paperorientation " << string_orientation[orientation]
           << '\n';
 
@@ -681,7 +682,7 @@ void BufferParams::writeFile(ostream & os) const
                }
        }
 
-       os << "\\tracking_changes " << tracking_changes << "\n";
+       os << "\\tracking_changes " << tostr(tracking_changes) << "\n";
 
        if (tracking_changes) {
                AuthorList::Authors::const_iterator it = pimpl_->authorlist.begin();
@@ -1215,7 +1216,7 @@ void BufferParams::readBullets(LyXLex & lex)
        temp_bullet(index).setCharacter(temp_int);
        lex >> temp_int;
        user_defined_bullet(index).setSize(temp_int);
-       temp_bullet(index).setSize(temp_int);   
+       temp_bullet(index).setSize(temp_int);
 }