From ccde0fb01dfe7db2286a6c88d640680f08cc9f3c Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Thu, 2 Jul 2020 08:22:49 +0200 Subject: [PATCH] constification --- src/Length.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5