[Libreoffice-commits] core.git: svx/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Oct 19 20:29:01 UTC 2018


 svx/source/svdraw/svdpdf.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d20c39d1b07a2c55de442cb4e0859fbb939af78b
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Oct 19 10:32:26 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Oct 19 22:26:41 2018 +0200

    copy and paste error
    
    Change-Id: Idfb9772912b52fa6cd33546953def4f65ac75e52
    Reviewed-on: https://gerrit.libreoffice.org/61983
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svx/source/svdraw/svdpdf.hxx b/svx/source/svdraw/svdpdf.hxx
index fac2847e953e..bc3ba11946f6 100644
--- a/svx/source/svdraw/svdpdf.hxx
+++ b/svx/source/svdraw/svdpdf.hxx
@@ -143,7 +143,7 @@ class ImpSdrPdfImport final
             if (top > bottom)
                 bottom = std::max(leftBottomY, rightBottomY);
             else
-                bottom = std::max(leftBottomY, rightBottomY);
+                bottom = std::min(leftBottomY, rightBottomY);
         }
 
         std::string toString() const


More information about the Libreoffice-commits mailing list