summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-11-21 10:55:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-11-21 10:56:15 +0000
commitc8b0bd4f755c427e1e66d5c12d2a49d32fa64373 (patch)
treeecd3a993fc2f41e19fa2b2b070b2858d3576b5c8
parent2b12d3d11fe116d0fb886518ae831b9effd53284 (diff)
Resolves: tdf#113956 Revert ofz#3374 Integer-overflow
-rw-r--r--emfio/source/reader/mtftools.cxx2
1 files changed, 1 insertions, 1 deletions
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 )