]> git.lyx.org Git - lyx.git/blobdiff - src/Spacing.cpp
de.po: update
[lyx.git] / src / Spacing.cpp
index 2b8a326dc08f423cb8000d29b5f416e5afeb0513..cd5816e60031398f5cc9450e5c8ebe3a41c15ca1 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Jean-Marc Lasgouttes
  *
  * Full author contact details are available in file CREDITS.
@@ -90,7 +90,7 @@ void Spacing::writeFile(ostream & os, bool para) const
 
 namespace {
 
-string envName(Spacing::Space space, bool useSetSpace) 
+string envName(Spacing::Space space, bool useSetSpace)
 {
        static char const * const env_names[]
                = { "SingleSpace", "OnehalfSpace", "DoubleSpace", "Spacing", ""};
@@ -99,14 +99,14 @@ string envName(Spacing::Space space, bool useSetSpace)
        return useSetSpace ? name : support::ascii_lowercase(name);
 }
 
-}
+} // namespace
 
 string const Spacing::writeEnvirBegin(bool useSetSpace) const
 {
        string const name = envName(space, useSetSpace);
-       if (space == Other) 
+       if (space == Other)
                return "\\begin{" + name + "}{" + getValueAsString() + '}';
-       else 
+       else
                return name.empty() ? string() : "\\begin{" + name + '}';
 }
 
@@ -128,11 +128,11 @@ string const Spacing::writePreamble(bool useSetSpace) const
                //return "\\singlespacing\n";
                break;
        case Onehalf:
-               preamble = useSetSpace ? "\\OnehalfSpacing\n" 
+               preamble = useSetSpace ? "\\OnehalfSpacing\n"
                        : "\\onehalfspacing\n";
                break;
        case Double:
-               preamble = useSetSpace ? "\\DoubleSpacing\n" 
+               preamble = useSetSpace ? "\\DoubleSpacing\n"
                        : "\\doublespacing\n";
                break;
        case Other: