summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-19 10:32:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-19 22:26:41 +0200
commitd20c39d1b07a2c55de442cb4e0859fbb939af78b (patch)
tree7d26f297557075ef93ce2b1344c001f15d5af2f5 /svx
parent919fb9c999b369f4b3f50336188204716e01190f (diff)
copy and paste error
Change-Id: Idfb9772912b52fa6cd33546953def4f65ac75e52 Reviewed-on: https://gerrit.libreoffice.org/61983 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdpdf.hxx2
1 files changed, 1 insertions, 1 deletions
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