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

Resolves: tdf#113956 Revert ofz#3374 Integer-overflow

This reverts commit 304d4234.
üst 2b12d3d1
...@@ -496,7 +496,7 @@ namespace emfio ...@@ -496,7 +496,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.BottomRight())); return tools::Rectangle( ImplMap( rRect.TopLeft() ), ImplMap( rRect.GetSize() ) );
} }
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