]> git.lyx.org Git - lyx.git/blobdiff - src/Length.cpp
Correct tex2lyx/roundtrip/test-structure.tex test.
[lyx.git] / src / Length.cpp
index 35f6b0cb424060116e30511e127867e173227641..44c3c8137161d1ace6f0c31c316ad8fa46f979f8 100644 (file)
@@ -75,7 +75,8 @@ docstring const Length::asDocstring() const
 {
        odocstringstream os;
        if (unit_ != UNIT_NONE)
-               os << formatFPNumber(val_) << unit_name[unit_]; // setw?
+               os << from_ascii(formatFPNumber(val_))
+                  << from_ascii(unit_name[unit_]); // setw?
        return os.str();
 }