[Libreoffice-commits] core.git: emfio/source
Caolán McNamara
caolanm at redhat.com
Tue Nov 21 10:56:46 UTC 2017
emfio/source/reader/mtftools.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c8b0bd4f755c427e1e66d5c12d2a49d32fa64373
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Nov 21 10:55:23 2017 +0000
Resolves: tdf#113956 Revert ofz#3374 Integer-overflow
This reverts commit 304d42342bd359de97a5863febd992d2ce2f21ca.
diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx
index fc37c8c6ac9a..fa62c205524e 100644
--- a/emfio/source/reader/mtftools.cxx
+++ b/emfio/source/reader/mtftools.cxx
@@ -496,7 +496,7 @@ namespace emfio
tools::Rectangle MtfTools::ImplMap( const tools::Rectangle& rRect )
{
- return tools::Rectangle(ImplMap(rRect.TopLeft()), ImplMap(rRect.BottomRight()));
+ return tools::Rectangle( ImplMap( rRect.TopLeft() ), ImplMap( rRect.GetSize() ) );
}
void MtfTools::ImplMap( vcl::Font& rFont )
More information about the Libreoffice-commits
mailing list