From 0d79d216886a71436e705c93829ed66a33270a9c Mon Sep 17 00:00:00 2001 From: Noel Date: Wed, 21 Oct 2020 15:31:38 +0200 Subject: long->tools::Long in pyuno..sd Change-Id: I67c1218d225f49ea9ce789433283ab85275e39a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104627 Tested-by: Noel Grandin Reviewed-by: Noel Grandin --- sd/source/filter/eppt/epptso.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sd/source/filter/eppt/epptso.cxx') diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index f775e1fbd063..3ecac3614608 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -984,8 +984,8 @@ void PPTWriter::ImplFlipBoundingBox( EscherPropertyContainer& rPropOpt ) // Maddeningly, in those two areas of PPT is the BoundingBox already // vertical. Therefore, we need to put down it BEFORE THE ROTATION. css::awt::Point aTopLeft( static_cast( maRect.Left() + fWidthHalf - fHeightHalf ), static_cast( maRect.Top() + fHeightHalf - fWidthHalf ) ); - const long nRotatedWidth(maRect.GetHeight()); - const long nRotatedHeight(maRect.GetWidth()); + const tools::Long nRotatedWidth(maRect.GetHeight()); + const tools::Long nRotatedHeight(maRect.GetWidth()); const Size aNewSize(nRotatedWidth, nRotatedHeight); maRect = ::tools::Rectangle( Point( aTopLeft.X, aTopLeft.Y ), aNewSize ); } -- cgit