]> git.lyx.org Git - lyx.git/blobdiff - src/Spacing.C
update no.po
[lyx.git] / src / Spacing.C
index 1bbb945f9f48e51ad0f743c3d2c349c9ca4f1f3b..8bc5080f597a8c5f0583bb666b1cd76a33ec85fb 100644 (file)
@@ -70,7 +70,7 @@ 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";
        }
@@ -91,8 +91,8 @@ string const Spacing::writeEnvirBegin() const
        {
                ostringstream ost;
                ost << "\\begin{spacing}{"
-                   << getValue() << "}";
-               return ost.str().c_str();
+                   << getValue() << '}';
+               return STRCONV(ost.str());
        }
        }
        return string();