summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2023-09-05 11:10:45 +0200
committerTomaž Vajngerl <quikee@gmail.com>2023-09-05 20:06:02 +0200
commit15e0dfe709636b517bc1876caa3853606d9b499c (patch)
tree860514d00af85586900e2b4eb1dbc4ee3c19a3d6 /slideshow
parent185ca3f1010283f84009c160f0dc564f71039b0c (diff)
tdf#154138 C/P regression - used setWidth instead of setHeight
Change-Id: I2433b4d32e939cadf499b61dfa9033125eaa3c76 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156557 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/shapes/drawshape.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/shapes/drawshape.cxx b/slideshow/source/engine/shapes/drawshape.cxx
index 8993c8edbe77..cdda31da8a66 100644
--- a/slideshow/source/engine/shapes/drawshape.cxx
+++ b/slideshow/source/engine/shapes/drawshape.cxx
@@ -775,7 +775,7 @@ namespace slideshow::internal
aAABorder.setWidth( ::std::max(
rShapeBorder.getWidth(),
aAABorder.getWidth() ) );
- aAABorder.setWidth( ::std::max(
+ aAABorder.setHeight( ::std::max(
rShapeBorder.getHeight(),
aAABorder.getHeight() ) );
}