[Libreoffice-commits] core.git: emfio/source
Caolán McNamara
caolanm at redhat.com
Wed Oct 25 19:31:00 UTC 2017
emfio/source/reader/mtftools.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 304d42342bd359de97a5863febd992d2ce2f21ca
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Oct 25 16:47:36 2017 +0100
ofz#3374 Integer-overflow
Change-Id: If9568da924709ef523390b958ec6e8d2fd1b0e3d
Reviewed-on: https://gerrit.libreoffice.org/43847
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx
index a8ca126b101e..d6df538dc27c 100644
--- a/emfio/source/reader/mtftools.cxx
+++ b/emfio/source/reader/mtftools.cxx
@@ -505,7 +505,7 @@ namespace emfio
tools::Rectangle MtfTools::ImplMap( const tools::Rectangle& rRect )
{
- return tools::Rectangle( ImplMap( rRect.TopLeft() ), ImplMap( rRect.GetSize() ) );
+ return tools::Rectangle(ImplMap(rRect.TopLeft()), ImplMap(rRect.BottomRight()));
}
void MtfTools::ImplMap( vcl::Font& rFont )
More information about the Libreoffice-commits
mailing list