X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLength.cpp;h=f8eb920c0ff48e5b58bd0065d0aad38d00c9009a;hb=55a3dd7b346d29a52ba305a4558e9e380ef50f47;hp=4a7434435f78ace9441882c8560ba167fc8b83a8;hpb=269695aa5f50651cc7e49a480bc426e540b577b6;p=lyx.git diff --git a/src/Length.cpp b/src/Length.cpp index 4a7434435f..f8eb920c0f 100644 --- a/src/Length.cpp +++ b/src/Length.cpp @@ -320,8 +320,7 @@ int Length::inBP() const Length::UNIT Length::defaultUnit() { - // FIXME: use a preference - return Length::CM; + return lyxrc.default_length_unit; }