]> git.lyx.org Git - lyx.git/blobdiff - src/Changes.cpp
Disallow newlines in biblatex options
[lyx.git] / src / Changes.cpp
index 5db28010fa1755deae327cafda4ef0a8e9a5e5cc..8d4933c55fc353f76e262aaa9c94b86069c468de 100644 (file)
@@ -142,7 +142,7 @@ void Changes::set(Change const & change, pos_type const start, pos_type const en
 {
        if (change.type != Change::UNCHANGED) {
                LYXERR(Debug::CHANGES, "setting change (type: " << change.type
-                       << ", author: " << change.author 
+                       << ", author: " << change.author
                        << ", time: " << long(change.changetime)
                        << ") in range (" << start << ", " << end << ")");
        }
@@ -382,7 +382,7 @@ docstring getLaTeXMarkup(docstring const & macro, docstring const & author,
        return ods.str();
 }
 
-} //namespace anon
+} // namespace
 
 
 int Changes::latexMarkChange(otexstream & os, BufferParams const & bparams,
@@ -415,11 +415,11 @@ int Changes::latexMarkChange(otexstream & os, BufferParams const & bparams,
        }
        else if (change.type == Change::INSERTED)
                macro_beg = from_ascii("\\lyxadded{");
-       
+
        docstring str = getLaTeXMarkup(macro_beg,
                                       bparams.authors().get(change.author).name(),
                                       chgTime, runparams);
-       
+
        // signature needed by \lyxsout to correctly strike out display math
        if (change.type == Change::DELETED && runparams.inDisplayMath
            && (!LaTeXFeatures::isAvailable("dvipost")