i18nutil/source/utility/paper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit dc21a19d91f4a4a7da485689255143c6eecd5121
Author:     Mike Kaganski <[email protected]>
AuthorDate: Wed Feb 11 10:20:43 2026 +0100
Commit:     Mike Kaganski <[email protected]>
CommitDate: Wed Feb 11 13:52:46 2026 +0100

    Define to constexpr
    
    Change-Id: I65ab39fc9645e495e607094c329642f3a34f86dd
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199126
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <[email protected]>

diff --git a/i18nutil/source/utility/paper.cxx 
b/i18nutil/source/utility/paper.cxx
index f774b1998554..1cdef064b64e 100644
--- a/i18nutil/source/utility/paper.cxx
+++ b/i18nutil/source/utility/paper.cxx
@@ -165,7 +165,7 @@ const size_t nTabSize = SAL_N_ELEMENTS(aDinTab);
 // but also large enough to match where the ppd side rounded up to the next
 // point. Seen with C5/C6/C65 envelopes which can be found over 1 point away
 // from the values in aDinTab
-#define MAXSLOPPY PT2MM100(1.25)
+constexpr auto MAXSLOPPY = PT2MM100(1.25);
 
 void PaperInfo::doSloppyFit(bool bAlsoTryRotated)
 {

Reply via email to