diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-21 10:55:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-21 10:56:15 +0000 |
commit | c8b0bd4f755c427e1e66d5c12d2a49d32fa64373 (patch) | |
tree | ecd3a993fc2f41e19fa2b2b070b2858d3576b5c8 | |
parent | 2b12d3d11fe116d0fb886518ae831b9effd53284 (diff) |
Resolves: tdf#113956 Revert ofz#3374 Integer-overflow
This reverts commit 304d42342bd359de97a5863febd992d2ce2f21ca.
-rw-r--r-- | emfio/source/reader/mtftools.cxx | 2 |
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 ) |