]> git.lyx.org Git - lyx.git/commitdiff
constification
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 2 Jul 2020 06:22:49 +0000 (08:22 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 2 Jul 2020 06:22:49 +0000 (08:22 +0200)
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);
 }