]> git.lyx.org Git - features.git/blobdiff - src/Length.cpp
Revert "Fix #11827"
[features.git] / src / Length.cpp
index a4d77f34ed041cbb049a20c858e2cddde8c94f25..d2868828b3875ec238ce3a86a3e9295384efb979 100644 (file)
@@ -313,7 +313,7 @@ int Length::inBP() const
 
        double const text_width_in = 210.0 / 2.54; // assume A4
        double const em_width_in = 10.0 / 72.27;
-       double result = 72.0 * inInch(text_width_in, em_width_in);
+       double const result = 72.0 * inInch(text_width_in, em_width_in);
        return support::iround(result);
 }