i18nutil/source/utility/paper.cxx |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 7d95a22245e3a031016e403aafddc00a73008b74
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Sep 22 15:28:46 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Sep 22 16:30:38 2022 +0200

    Revert "Related: tdf#151107 make "sloppy" paper fit up to 1.25pt"
    
    mistook user verified +1 for jenkins +1
    
    This reverts commit b15f7297a7f2bb3cb54f2a787d1c460adc2ac6fe.
    
    Change-Id: I5656a9a83d92a227efd249073ed746484b57171d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140438
    Tested-by: Caolán McNamara <caol...@redhat.com>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/i18nutil/source/utility/paper.cxx 
b/i18nutil/source/utility/paper.cxx
index f6871e655f58..1976880a060d 100644
--- a/i18nutil/source/utility/paper.cxx
+++ b/i18nutil/source/utility/paper.cxx
@@ -165,11 +165,7 @@ const PageDesc aDinTab[] =
 
 const size_t nTabSize = SAL_N_ELEMENTS(aDinTab);
 
-// tdf#151107 make this not just large enough for rounding errors on our side
-// 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)
+#define MAXSLOPPY 21
 
 void PaperInfo::doSloppyFit(bool bAlsoTryRotated)
 {

Reply via email to