X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLength.cpp;h=288a54de6230ec3661b3dc00d661d5a553db4765;hb=f27d5aa9ae5f3f89c4e2923dae1592a116988906;hp=4b269aa31517e1ee7bd72dd40f3aa4b3333e3caa;hpb=969a8356b8e9e93c37a855f3402b55f582f8831d;p=lyx.git diff --git a/src/Length.cpp b/src/Length.cpp index 4b269aa315..288a54de62 100644 --- a/src/Length.cpp +++ b/src/Length.cpp @@ -96,12 +96,12 @@ string const Length::asLatexString() const case PLW: os << val_ / 100.0 << "\\linewidth"; break; - case PPH: - os << val_ / 100.0 << "\\paperheight"; - break; case PTH: os << val_ / 100.0 << "\\textheight"; break; + case PPH: + os << val_ / 100.0 << "\\paperheight"; + break; default: os << val_ << unit_name[unit_]; break;