From: Juergen Spitzmueller Date: Thu, 2 Jul 2020 06:22:49 +0000 (+0200) Subject: constification X-Git-Tag: lyx-2.4.0dev-acb2ca7b~673 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ccde0fb01dfe7db2286a6c88d640680f08cc9f3c;p=lyx.git constification --- diff --git a/src/Length.cpp b/src/Length.cpp index a4d77f34ed..d2868828b3 100644 --- a/src/Length.cpp +++ b/src/Length.cpp @@ -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); }