Kaydet (Commit) 304d4234 authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz#3374 Integer-overflow

Change-Id: If9568da924709ef523390b958ec6e8d2fd1b0e3d
Reviewed-on: https://gerrit.libreoffice.org/43847Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 71518d18
...@@ -505,7 +505,7 @@ namespace emfio ...@@ -505,7 +505,7 @@ namespace emfio
tools::Rectangle MtfTools::ImplMap( const tools::Rectangle& rRect ) 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 ) void MtfTools::ImplMap( vcl::Font& rFont )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment