]> git.lyx.org Git - lyx.git/blobdiff - src/Spacing.C
fix reading the author field.
[lyx.git] / src / Spacing.C
index 40e10c424797f8e0c8f455f2640fecdfc13c041e..695398b6ff8bae92203f6b735b6de9e336fb82b3 100644 (file)
 
 #include <config.h>
 
-#include "support/std_sstream.h"
 #include "Spacing.h"
 
+#include <sstream>
+#include <string>
+
 using std::ios;
 using std::istringstream;
 using std::ostream;
 using std::ostringstream;
+using std::string;
 
 
 string const Spacing::spacing_string[]
@@ -69,9 +72,9 @@ void Spacing::writeFile(ostream & os, bool para) const
                os.setf(ios::showpoint|ios::fixed);
                os.precision(2);
                os << cmd << spacing_string[getSpace()]
-                  << ' ' << getValue() << " \n";
+                  << ' ' << getValue() << "\n";
        } else {
-               os << cmd << spacing_string[getSpace()] << " \n";
+               os << cmd << spacing_string[getSpace()] << "\n";
        }
 }
 
@@ -91,7 +94,7 @@ string const Spacing::writeEnvirBegin() const
                ostringstream ost;
                ost << "\\begin{spacing}{"
                    << getValue() << '}';
-               return STRCONV(ost.str());
+               return ost.str();
        }
        }
        return string();